emerge avifile-0.7.43.20050224 , and get: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../include -DPLUGIN_PATH=\"/usr/lib/avifile-0.7\" -I./../ffmpeg/libavcodec -I./../ffmpeg/libavformat -Wall -Wno-unused -I../include -finline-limit-200 -O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -fforce-addr -falign-functions=4 -funit-at-a-time -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_INTEL -D_GNU_SOURCE -pipe -c codeckeeper.cpp -fPIC -DPIC -o .libs/codeckeeper.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../include -DPLUGIN_PATH=\"/usr/lib/avifile-0.7\" -I./../ffmpeg/libavcodec -I./../ffmpeg/libavformat -Wall -Wno-unused -I../include -finline-limit-200 -O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -fforce-addr -falign-functions=4 -funit-at-a-time -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_INTEL -D_GNU_SOURCE -pipe -c Uncompressed.cpp -fPIC -DPIC -o .libs/Uncompressed.o /bin/sh ../libtool --mode=link i686-pc-linux-gnu-g++ -finline-limit-200 -O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -fforce-addr -falign-functions=4 -funit-at-a-time -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_INTEL -D_GNU_SOURCE -pipe -o libaviplay.la -rpath /usr/lib -release 0.7 -version-info 0:43:0 codeckeeper.lo Uncompressed.lo aviplay/libaviplay.la aviread/libaviread.la aviwrite/libaviwrite.la common/libcommon.la subtitle/libsubtitle.la video/libvideo.la -lpthread -lnsl -ldl libtool: link: cannot find the library `//usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la' make[2]: *** [libaviplay.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224/work/avifile-0.7-0.7.43/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224/work/avifile-0.7-0.7.43/lib' make: *** [all-recursive] Error 1 !!! ERROR: media-video/avifile-0.7.43.20050224 failed. !!! Function src_compile, Line 137, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: Portage 2.0.51.19 (default-linux/x86/2004.2, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 10:59:12)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -fforce-addr -falign-functions=4 -funit-at-a-time" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -fforce-addr -falign-functions=4 -funit-at-a-time" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac aalib acl acpi alsa apache2 arts avi bash-completion berkdb bitmap-fonts cdr crypt cups curl dba doc dvd dvdr emboss encode esd flac font-server foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 guile hal howl imagemagick imlib ipv6 ithreads java jpeg junit kde ldap libg++ libwww mad mikmod mmap mmx motif mozilla mp3 mpeg mysql ncurses nls nptl nvidia oggvorbis opengl pam pdflib perl pic plotutils png postgres pthreads python qt quicktime readline sdl session sharedmem slang spell sse ssl svga tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode usb vhosts xml xml2 xv zlib linguas_en" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
I'm having a similar error in Kdelibs. The error is almost the same, it cannot find: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.3-20050110/libstdc++.la So, I simply did a ln -s to /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/libstdc++.la . A bit hacky, but solved my problems, at least temporarily.
Same problem here with avifile. Perhaps the recent gcc-3.4.3.20050110-r1 is the culprit?
fix_libtool_files.sh 3.4.3.20050110 did not help. I am using 3.4.3.20050110-r1 , upgrade from 3.4.3.20050110 .
I think you were headed in the right direction: fix_libtool_files.sh 3.4.3 solved the issue on my end. Thanks!
Re: Comment #3: I believe the command needed is: fix_libtool_files.sh 3.4.3 ***** ROOT CAUSE QUESTION ***** Is it possible to identify when fix_libtool_files.sh should be run by an ebuild, so that it would be included when the library is updated? ***** See bug #73435.
*** This bug has been marked as a duplicate of 84324 ***
fix_libtool_files.sh 3.4.3 worked indeed. Thanks. Looks like this is solved.