When I try to emerge some packages like xine-lib or kaffeine, I get the following message: bin/sh ../../libtool-nofpic --mode=link gcc -I/usr/X11R6/include -DXINE_COMPILE -I/usr/include/SDL -D_REENTRANT -I../../src/video_out/vidix -I../../src/video_out/vidix -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -O0 -march=i686 -fno-stack-protector -mno-sse2 -mno-sse3 -ffunction-sections -o xineplug_vo_out_sdl.la -rpath /usr/lib/xine/plugins/1.0.0 -avoid-version -module alphablend.lo video_out_sdl.lo -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread ../../src/xine-engine/libxine.la grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.la: No such file or directory /bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.la: No such file or directory libtool-nofpic: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.la' is not a valid libtool archive make[4]: *** [xineplug_vo_out_sdl.la] Error 1 This is true, as the valid directoty is ..../3.3.4/ not ....../3.3.3/ I have my /etc/ld.so.conf containing correct dir. Also when running gcc-config -X i get correct directory printed. I checked if there is any need to etc-update, but there are no ._cfg????_* files in my /etc. How can I support system with correct directory and what part of system is buggy, that it didn't get correctly updated? Reproducible: Always Steps to Reproduce: 1. update the gcc from 3.3.3 to 3.3.4 2. try to emerge kaffeine 3.
run `fix_libtool_files.sh`