Gentoo.LinuxHowtos.org howtos, tips&tricks and tutorials for gentoo linux |  |
 |
 |  |  |
from small one page howto to huge articles all in one place
Last additions: May, 25th 2007: April, 26th 2007: Apr, 10th. 2007: | 
.  You are here: FAQ
During emerge you get the error message libstc++.la is missing?Fix/Answerrun fix_libtool_files.sh the old gcc version can be seen in the error message of the compiler line. After a few seconds (or minutes) your libtool files are fixed.
Description: During your gcc update there have been a few (sometimes dozen) libtool files left with the gcc path hardcoded in them. When you compile a program that uses those libtool files, the path is wrong and you get your missing libstc++ error message. From the fix_libtool_files.sh help:
Usage: fix_libtool_files.sh [--oldarch ] Where is the version number of the previous gcc version. For example, if you updated to gcc-3.2.1, and you had gcc-3.2 installed, run: # fix_libtool_files.sh 3.2 If you updated to gcc-3.2.3, and the old CHOST was i586-pc-linux-gnu but you now have CHOST as i686-pc-linux-gnu, run: # fix_libtool_files.sh 3.2 --oldarch i586-pc-linux-gnu Note that if only the CHOST and not the version changed, you can run it with the current version and the '--oldarch ' arguments, and it will do the expected: # fix_libtool_files.sh `gcc -dumpversion` --oldarch i586-pc-linux-gnu
current rating: no votes yet Your rating:
back
|
New Packages - as  - as  - as  2025-02-22
2025-02-21
| |  |
 |
 |  |  |