Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GF18: Emerge fails after upgrading gcc. libstdc++.la missing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions
View previous topic :: View next topic  
Author Message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4835
Location: Gothenburg, Sweden

PostPosted: Thu Jan 13, 2005 1:11 pm    Post subject: GF18: Emerge fails after upgrading gcc. libstdc++.la missing Reply with quote

Navigation: [Gentoo Fundamentals] [Table of Contents]

  • Q: I have upgraded gcc and now emerge fails with messages such as
    Code:
    grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/<old_version>/libstdc++.la: No such file or directory.

    What should I do?

    A: This typically happens because some packages have hard coded the path to libstdc++.la. Run
    Code:
    fix_libtool_files.sh <old_version>

    to fix it. Note that you may have to run
    Code:
    env-update && source /etc/profile

    first. Note also that you may run into problems if you have changed the default root umask.

  • Q: That's all nice, but the CHOST (i686-pc-linux-gnu above) is incorrect as well.

    A: Then you have to pass the --oldarch flag to fix_libtool_files.sh:
    Code:
    fix_libtool_files.sh <old_version> --oldarch <incorrect_CHOST>

    Note that if you're thinking about changing the CHOST setting in /etc/make.conf it should be made with caution.

  • Further reading:

2005-03-22: Added --oldarch
2005-04-15: Added Further reading
2006-05-16: Added note about 4.1.0 revision update issue

_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum