k3b can't be compiled... /bin/sed: can't read /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/libstdc++.la: No such file or directory libtool: link: `/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/libstdc++.la' is not a valid libtool archive I'm not really sure if this is a problem with gcc, k3b or libstdc++... Reproducible: Always Steps to Reproduce: 1.emerge k3b Actual Results: /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o k3bdevicemanager.lo `test -f 'k3bdevicemanager.cpp' || echo './'`k3bdevicemanager.cpp /bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o libk3bdevice.la -rpath /usr/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib -version-info 2:0:0 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined k3bdevice.lo k3bscsicommand.lo k3btrack.lo k3btoc.lo k3bdevicemanager.lo k3bmsf.lo k3bdiskinfo.lo k3bdeviceglobals.lo k3bcrc.lo k3bcdtext.lo -lkio grep: /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/libstdc++.la: No such file or directory /bin/sed: can't read /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/libstdc++.la: No such file or directory libtool: link: `/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/libstdc++.la' is not a valid libtool archive make[3]: *** [libk3bdevice.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/k3b-0.11.17/work/k3b-0.11.17/src/device' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/k3b-0.11.17/work/k3b-0.11.17/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/k3b-0.11.17/work/k3b-0.11.17' make: *** [all] Error 2 !!! ERROR: app-cdr/k3b-0.11.17 failed. !!! Function kde_src_compile, Line 142, Exitcode 2 !!! died running emake, kde_src_compile:make emerge info Portage 2.0.51_rc6 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.4.26-gentoo-r9 i686) ================================================================= System uname: 2.4.26-gentoo-r9 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O3 -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/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.inode.at/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://amd-mobil/gentoo-portage" USE="3dnow X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 imlib jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xorg-x11 xprint xv xvid zlib"
Yuo have updated the gcc, so libstdc++ has changed his path. The right solution IS NOT to make a simlink, but to use fix_libtool_files.sh In your case I think it should be: fix_libtool_files.sh 3.4.1
see above comment