When emerging avidemux 2.0.36 compiling and linking fails with the following error: libtool: link: cannot find the library `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' make[3]: *** [avidemux2] Error 1 make[3]: Leaving directory `/usr/tmp/portage/avidemux-2.0.36/work/avidemux-2.0.36/avidemux' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/tmp/portage/avidemux-2.0.36/work/avidemux-2.0.36/avidemux' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/tmp/portage/avidemux-2.0.36/work/avidemux-2.0.36' make: *** [all] Error 2 which is not strange since i am using libstdc++ 3.3.5. So why does the ebuild (or configure) think i have 3.3.4? Reproducible: Always Steps to Reproduce: 1.emerge avidemux 2. 3. Actual Results: compiling and linking fails Expected Results: emerged nicely This is a reentry of bug 78085 since i had the version number wrong in that one. I closed that one as invalid. My emerge info: Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.9-win4lin-r5 i686) ================================================================= System uname: 2.6.9-win4lin-r5 i686 AMD Athlon(tm) XP 1600+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1,sys-kernel/linux26-headers-2.6.8.1-r2 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /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="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.scarlet-internet.nl/pub/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowex Gtk X Xaw3d alsa apm arts artswrappersuid avi berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups doc dvd dvdr encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 gtkhtml guile imagemagick imlib java javascript jpeg kde ldap libg++ libwww mad mikmod mmx mmx2 motif mpeg ncurses nls oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline samba scanner sdk sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb x86 xine xml xml2 xmms xprint xv xvid zlib"
i'm not sure, have you already used 'fix_libtool_files.sh' ? in your case you have to run it like this: 'fix_libtool_files.sh 3.3.4' .
No I did not use fix_libtool_files.sh until now. I did it now and it does seem to have done the trick. Avidemux compiled and linked to the end and has emerged nicely. Do I have to do this each time I upgrade gcc?