Gentoo.LinuxHowtos.org howtos, tips&tricks and tutorials for gentoo linux | ![](/data/shadow-tr.png) |
![](/data/blank.gif) |
![](/data/shadow-bl.png) | ![](/data/blank.gif) | ![](/data/border-rb.png) |
from small one page howto to huge articles all in one place
Last additions: May, 25th 2007: April, 26th 2007: Apr, 10th. 2007: | ![Druckversion](/data/printer.gif)
. ![pdf icon](/data/pdf.png) 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 ![rdf newsfeed](/data/rdf.png) - as ![rss newsfeed](/data/rss.png) - as ![Atom newsfeed](/data/atom.png) 2024-07-27
2024-07-26
| | ![](/data/shadow-tr.png) |
![](/data/blank.gif) |
![](/data/shadow-bl.png) | ![](/data/blank.gif) | ![](/data/border-rb.png) |