Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 128179

Summary: qt-3.3.6 ebuild fails: libexpat.so.0 needed by /usr/lib64/libfontconfig.so
Product: Gentoo Linux Reporter: Shaw <shawvrana>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: shawvrana
Priority: Highest    
Version: 2006.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Shaw 2006-03-30 15:23:58 UTC
In the middle of a emerge Du world, qt 3.3.6 ebuild fails- libfontconfig.so cannot be created b/c of a dependency on libexpat.so.0 which exists but cannot be found.  libexpat.so.0 is in the /emul dir for AMD64 which is in LD_LIBRARY_PATH and also in /etc/ld.so.conf.  Tried running ldconfig and etc-update with no luck.

--------------------------------------------
Portage 2.1_pre7-r3 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.15.4 x86_64)
=================================================================
System uname: 2.6.15.4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~x86"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://gentoo.ccccom.com ftp://mirrors.tds.net/gentoo http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j4"
PKGDIR="/mnt/cdrom"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac alsa amazon arts artswrappersuid avi bash-completion bitmap-fonts cacheemu cdrom codecs cscope ctags cups curl cvs dhcp divx4linux dvd dvdr dvdread encode esd font-server freetype ftp gif gs gstreamer gtk gtk2 hal javascript jpeg kde libvisual mime mp3 mpeg mpeg4 mplayer network nptl nptlonly ogg oggvorbis opengl pcre pda pdflib perl png python qt readline rss samba ssl streamzap svg tcpd tiff truetype truetype-fonts type1 type1-fonts vim-pager vim-with-x vorbis x11 xine xmms xosd xprint xv xvid yahoo elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Shaw 2006-03-30 15:24:42 UTC
usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libexpat.so.0, needed by /usr/lib64/libfontconfig.so, not found (try using -rpath or -rpath-link)
/usr/lib64/libfontconfig.so: undefined reference to `XML_SetElementHandler'
/usr/lib64/libfontconfig.so: undefined reference to `XML_SetDoctypeDeclHandler'
/usr/lib64/libfontconfig.so: undefined reference to `XML_ParserFree'
/usr/lib64/libfontconfig.so: undefined reference to `XML_SetCharacterDataHandler'
/usr/lib64/libfontconfig.so: undefined reference to `XML_ErrorString'
/usr/lib64/libfontconfig.so: undefined reference to `XML_ParseBuffer'
/usr/lib64/libfontconfig.so: undefined reference to `XML_ParserCreate'
/usr/lib64/libfontconfig.so: undefined reference to `XML_SetUserData'
/usr/lib64/libfontconfig.so: undefined reference to `XML_GetErrorCode'
/usr/lib64/libfontconfig.so: undefined reference to `XML_GetBuffer'
/usr/lib64/libfontconfig.so: undefined reference to `XML_GetCurrentLineNumber'
collect2: ld returned 1 exit status
make[3]: *** [../../../bin/uic] Error 1
make[3]: Leaving directory `/var/tmp/portage/qt-3.3.6/work/qt-x11-free-3.3.6/tools/designer/uic'
make[2]: *** [sub-uic] Error 2
make[2]: Leaving directory `/var/tmp/portage/qt-3.3.6/work/qt-x11-free-3.3.6/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-3.3.6/work/qt-x11-free-3.3.6/tools'
make: *** [sub-tools] Error 2

!!! ERROR: x11-libs/qt-3.3.6 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  qt-3.3.6.ebuild, line 197:   Called die
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-03-30 15:24:51 UTC
You've missed revdep-rebuild... see the other bug.

*** This bug has been marked as a duplicate of 128069 ***

*** This bug has been marked as a duplicate of 128069 ***