Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146953 - x11-libs/pango: libexpat.so.0: cannot open shared object file: No such file or directory
Summary: x11-libs/pango: libexpat.so.0: cannot open shared object file: No such file o...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-09 08:13 UTC by Alexander Skwar
Modified: 2006-09-09 08:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2006-09-09 08:13:21 UTC
I tried to build pango with these flags:

[ebuild  N    ] x11-libs/pango-1.12.3  USE="-debug -doc" 0 kB

This fails:

make[3]: Entering directory `/Gentoo/Portage/build/portage/pango-1.12.3/work/pango-1.12.3/modules'
Writing a pango.modules file to use with tests/examples.
/Gentoo/Portage/build/portage/pango-1.12.3/work/pango-1.12.3/pango/.libs/lt-pango-querymodules: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
make[3]: *** [pango.modules] Fehler 127
make[3]: Leaving directory `/Gentoo/Portage/build/portage/pango-1.12.3/work/pango-1.12.3/modules'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/Gentoo/Portage/build/portage/pango-1.12.3/work/pango-1.12.3/modules'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/Gentoo/Portage/build/portage/pango-1.12.3/work/pango-1.12.3'
make: *** [all] Fehler 2

!!! ERROR: x11-libs/pango-1.12.3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called gnome2_src_compile
  gnome2.eclass, line 64:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.

I don't have expat installed:

ch4 knospe / # ls -lad /var/db/pkg/*/*pang*
ls: Zugriff auf /var/db/pkg/*/*pang* nicht m
Comment 1 Alexander Skwar 2006-09-09 08:13:21 UTC
I tried to build pango with these flags:

[ebuild  N    ] x11-libs/pango-1.12.3  USE="-debug -doc" 0 kB

This fails:

make[3]: Entering directory `/Gentoo/Portage/build/portage/pango-1.12.3/work/pango-1.12.3/modules'
Writing a pango.modules file to use with tests/examples.
/Gentoo/Portage/build/portage/pango-1.12.3/work/pango-1.12.3/pango/.libs/lt-pango-querymodules: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
make[3]: *** [pango.modules] Fehler 127
make[3]: Leaving directory `/Gentoo/Portage/build/portage/pango-1.12.3/work/pango-1.12.3/modules'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/Gentoo/Portage/build/portage/pango-1.12.3/work/pango-1.12.3/modules'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/Gentoo/Portage/build/portage/pango-1.12.3/work/pango-1.12.3'
make: *** [all] Fehler 2

!!! ERROR: x11-libs/pango-1.12.3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called gnome2_src_compile
  gnome2.eclass, line 64:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.

I don't have expat installed:

ch4 knospe / # ls -lad /var/db/pkg/*/*pang*
ls: Zugriff auf /var/db/pkg/*/*pang* nicht möglich: Datei oder Verzeichnis nicht gefunden

(chroot) knospe / # ldd /Gentoo/Portage/build/portage/pango-1.12.3/work/pango-1.12.3/pango/.libs/lt-pango-querymodules
        linux-gate.so.1 =>  (0xffffe000)
        libpangox-1.0.so.0 => /Gentoo/Portage/build/portage/pango-1.12.3/work/pango-1.12.3/pango/.libs/libpangox-1.0.so.0 (0xb7f7f000)
        libpangoxft-1.0.so.0 => /Gentoo/Portage/build/portage/pango-1.12.3/work/pango-1.12.3/pango/.libs/libpangoxft-1.0.so.0 (0xb7f78000)
        libpangoft2-1.0.so.0 => /Gentoo/Portage/build/portage/pango-1.12.3/work/pango-1.12.3/pango/.libs/libpangoft2-1.0.so.0 (0xb7f52000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0xb7f38000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7f30000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7e42000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7e3f000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7e3a000)
        libpango-1.0.so.0 => /Gentoo/Portage/build/portage/pango-1.12.3/work/pango-1.12.3/pango/.libs/libpango-1.0.so.0 (0xb7e01000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7dd1000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7db2000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7d43000)
        libz.so.1 => /lib/libz.so.1 (0xb7d31000)
        libm.so.6 => /lib/libm.so.6 (0xb7d0c000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7cd2000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7cce000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7cca000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7c43000)
        libc.so.6 => /lib/libc.so.6 (0xb7b24000)
        /lib/ld-linux.so.2 (0xb7f8b000)
        libexpat.so.0 => not found
        libexpat.so.0 => not found


I don't quite get, why pango is directly trying to link in libexpat.so.0. This is after a new installation of Gentoo, ie. I never had expat installed. Or is some application from stage3 (2006.1 x86) linked against libexpat.so.0?

(chroot) knospe / # emerge --info
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.15-25-686 i686)
=================================================================
System uname: 2.6.15-25-686 i686 Intel(R) Celeron(R) M processor         1.50GHz
Gentoo Base System version 1.12.4
Last Sync: Fri, 08 Sep 2006 21:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="        http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/   http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/    ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     http://distro.ibiblio.org/pub/linux/distributions/gentoo/       ftp://distro.ibiblio.org/pub/linux/distributions/gentoo         http://distfiles.gentoo.org/ "
LANG="de_DE.UTF-8"
LINGUAS="de"
PKGDIR="/Gentoo/Portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 alsa berkdb bitmap-fonts cli crypt cups dlloader dri elibc_glibc esd fortran gdbm gnome gstreamer hal input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog kdeenablefinal kdehiddenvisibility kernel_linux libedit libg++ linguas_de ncurses nls nptl nptlonly pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_vesa video_cards_vga video_cards_via xorg zlib"Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Alexander Skwar 2006-09-09 08:17:49 UTC
Correction...

I *DO* have expat installed.

(ch2) knospe shm # ls -lad /var/db/pkg/*/*expa*
drwxr-xr-x 2 root root 4096  9. Sep 04:29 /var/db/pkg/dev-libs/expat-2.0.0

Because of expat 2.0.0, I've got:

(ch2) knospe shm # ls -la /usr/lib/libexpat.so.1.5.0
-rwxr-xr-x 1 root root 126448  9. Sep 04:29 /usr/lib/libexpat.so.1.5.0

Okay, rephrase the question - why is pango linking against libexpat.so.0 and not libexpat.so.1? If it requires libexpat.so.0 and not .1, shouldn't expat < 2.0.0 be a requirement of this ebuild?
Comment 3 Alexander Skwar 2006-09-09 08:25:38 UTC
Hm, thinking about it, I just might have forgotten to run revdep-rebuild....

Sorry about the bug spam, closing this bug now.