Another way to solve specific problem with emerge complaining about missing libraries For a weeks I had problem to emerge-compile-install PHP 4.3.11 on my system AMD Barton 2500+ Gentoo 2005.0, gcc 3.3.5. (also problems installing tvtime, mythtv, awtv, ...) There was not gcc 3.3.4 before installed so according to Eric Brown #80 comment I tried: root# fix_libtool_files.sh 3.3.5 because error was: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la: No such file or directory It does some short fixing, but root# emerge php generated same error as before /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la: No such file or directory Solutions: A. (clumsy but functional) 1.I went to /usr/lib/gcc-lib 2.Saw that there is not such a directory as /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/ 3.But there was: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.la 4.So I made copy (not simlink, because that functioned not) and created /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/ as copy of /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/ 5.Tried root# emerge php, everthing OK php functioning: root# php -r 'echo(“Hello word!\n”);' :-) so had too copies of gcc-lib (19M + 19M on hard disk) not very lucky about it ;-), but emerge compiling :-). B. elegant and functioning Tried: root# fix_libtool_files.sh 3.3.5-20050130 no effect. So I went for fix_libtool_files.sh, and in comments of that file I saw the solution: 1.Please do read were exactly is error: “/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la: No such file or directory” and you have in your system something like: “/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5..../libstdc++.la” than root# fix_libtool_files.sh 3.3.5 will not fix the problem. 2.In this case this will solve the problem: root# “fix_libtool_files.sh 3.3.5 --oldarch i386-pc-linux-gnu”, this generated long list of fixes, and root# emerge php was OK (deleting duplicated gcc-lib from system and recompiling php once more without problem). - problem with fix_libtool_files.sh 3.3.5 was that by some accident the links to libraries pointed to i386_pc_linux_gnu and not to corect i686_pc_linux_gnu, which was solved by additional argunent to fix_libtool_sh. Hopping this will help another people with similar problems and save their time.