/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wn o-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwr ite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -D NDEBUG -DNO_DEBUG -O2 -mcpu=athlon-mp -O3 -pipe -fno-exceptions -fno-check-new - DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -o libkdeeducore.la.closure libkdeeduc ore_la_closure.lo -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib -no-undef ined -version-info 1:0 keduvocdata.lo -lkdecore -lqt-mt -lpng -lz -lm -lXext -l X11 -lresolv -lSM -lICE -lpthread libtool: link: cannot find the library `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1 /libstdc++.la' make[4]: *** [libkdeeducore.la.closure] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdeedu-3.1-r1/work/kdeedu-3.1/libkd eedu/kdeeducore' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdeedu-3.1-r1/work/kdeedu-3.1/libkd eedu/kdeeducore' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdeedu-3.1-r1/work/kdeedu-3.1/libkd eedu' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdeedu-3.1-r1/work/kdeedu-3.1' make: *** [all] Error 2 !!! ERROR: kde-base/kdeedu-3.1-r1 failed. !!! Function kde_src_compile, Line 115, Exitcode 2 !!! died running emake, kde_src_compile:make sbc sethbc # sbc sethbc # emerge info Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r3) ================================================================= System uname: 2.4.20-lolo-r1 i686 AMD Athlon(TM) MP 2100+ GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 -3dfx 3dnow aalib -acl -acpi -alsa apache2 -apm arts atlas avi berkdb bonobo -canna -cjk cdr crypt cups dga -directfb doc dvd encode esd evo fbcon flash -freewnn gb gd gdbm ggi -ggz gif gnome gphoto2 gpm gps gtk gtk2 gtkhtml guile -icc -icc-pgo imap imlib innodb ipv6 java -jike jpeg junit kde kerberos lcms -ldap leim libg++ libgda libwww -matrox maildir -mbox mikmod mmx motif mozilla mpeg mule mysql -nas ncurses nls oav -oci8 odbc oggvorbis opengl oss pam -pcmcia pda pdflib perl pic plotutils png pnp postgres python qt qtmt quicktime readline ruby samba sasl scanner sdl -slang slp snmp -socks5 spell sse ssl svga tcltk tcpd tetex tiff truetype -voodoo3 wmf X xface xml xml2 xmms xv -zeo zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-mp -O3 -pipe" CXXFLAGS="-mcpu=athlon-mp -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86 &x86" MAKEOPTS="-j3" AUTOCLEAN="yes" SYNC="cvs://sethbc@gentoo.org/gentoo-x86" FEATURES="sandbox ccache buildpkg digest noauto" sbc sethbc #
*** Bug 15027 has been marked as a duplicate of this bug. ***
Ok, to fix: nosferatu root # emerge rsync nosferatu root # cd /usr/portage/sys-devel/gcc/files/ nosferatu files # ./fix_libtool_files.sh 3.2.1 * Scanning /usr/lib/opengl/nvidia/lib... * Scanning /usr/lib/mozilla... * Scanning /usr/X11R6/lib... * Scanning /opt/blackdown-jdk-1.4.1_beta/jre/lib/i386... * Scanning /opt/blackdown-jdk-1.4.1_beta/jre/lib/i386/native_threads... * Scanning /usr/qt/3/lib... * Scanning /lib... * Scanning /usr/lib... * FIXING: /usr/lib/gst/libgstarts.la * Scanning /usr/local/lib... nosferatu files # Make sure that /usr/portage/sys-devel/gcc/files/awk/fixlafiles.awk is at CVS revision 1.5: ------------------------------------------------------- azarah@nosferatu awk $ grep fixlafiles /usr/portage/sys-devel/gcc/files/awk/fixlafiles.awk # $Header: /home/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/fixlafiles.awk,v 1.5 2003/02/03 18:35:40 azarah Exp $ azarah@nosferatu awk $ ------------------------------------------------------- Note the 'v 1.5' ...
thanks, good job gentoo team, bcoz of this people like gentoo :-)
Err, that is a confirmation that the fix work ?
It worked for me, had the same error in kdelibs.
I had the same error with many programs....the script seems to work, but I noticed the same thing on my other boxes, the script error/doesn't run correctly from the gcc3.2.2 ebuild. Stupid me then tried running the script manually, but used 3.2.2 as an argument which didn't fix the problem, so I ended up grepping for 3.2.1/libstdc++.la and recompiling each package :) until I see that u need the old version as an argument which works great.
I still wish I knew whats up with the line wrapping now
AFAICS this is fixed, reopen if I'm wrong.
*** Bug 15066 has been marked as a duplicate of this bug. ***
*** Bug 14350 has been marked as a duplicate of this bug. ***
*** Bug 15288 has been marked as a duplicate of this bug. ***
I guess my bug #14350 has been marked as a dupe of this bug, but the fix for this bug did not fix my problem. I want to make clear that when my gcc is built, there is no libstdc++.so.5, libstdc++.so.5.2, or libstdc++.so in /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2. ls -al /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++* -rw-r--r-- 1 root root 7932070 Mar 13 16:47 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.a -rwxr-xr-x 1 root root 909 Mar 13 16:47 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.la That's all I got. I was told to run this script before, and it did seem to fix some things up, but the only reason I still have a working system is that some binary gcc I downloaded kept some files in /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/ and that's still in my path, so python will work, but anything that tries to use that file will die with the time_put_w error. I don't think I have the same problem as these folks. Also, a weird thing, when I run gcc-config i686-pc-linux-gnu-3.2.2 i get /bin/cp: cannot stat `/usr/lib/gcc-config/wrapper': No such file or directory over and over and it ends with [ ok ]. Something maybe wrong with gcc-config?
Clint: Check that bug for your answer ...
*** Bug 20125 has been marked as a duplicate of this bug. ***
*** Bug 18041 has been marked as a duplicate of this bug. ***
*** Bug 19879 has been marked as a duplicate of this bug. ***
*** Bug 19896 has been marked as a duplicate of this bug. ***
I just installed a new and shiny Gentoo system a couple of weeks ago :-). I have the same problem upgrading from gcc-3.2.3 to gcc-3.3.2. I don't know if the fix in this report works. I just followed bug number 11391 before I found this one, then re-emerged python, and finally deleted the copied files (see bug 11391). Emerge is working again, now. This bug just seems be sticking around!
Same problem here upgrading gcc. Fixed by replacing /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3 with /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2 in /e tc/ld.so.conf Is anyone working on fixing this?
Did you run fix_libtool_files.sh?
Question: Do you need to run fix_libtool_files.sh everytime you upgrade gcc? I mean, it is quite a shock to a gentoo-newcomer when emerge doesn't work anymore...