Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Frequently Asked Questions
  • Search

GF18: Emerge fails after upgrading gcc. libstdc++.la missing

Some of the most commonly heard questions in the Gentoo Community, along with answers.
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
kallamej
Administrator
Administrator
User avatar
Posts: 4993
Joined: Fri Jun 27, 2003 10:05 am
Location: Gothenburg, Sweden

GF18: Emerge fails after upgrading gcc. libstdc++.la missing

  • Quote

Post by kallamej » Thu Jan 13, 2005 1:11 pm

Navigation: [Gentoo Fundamentals] [Table of Contents]
  • Q: I have upgraded gcc and now emerge fails with messages such as

    Code: Select all

    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: Select all

    fix_libtool_files.sh <old_version>
    to fix it. Note that you may have to run

    Code: Select all

    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: Select all

    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:
    • libstdc++.la: No such file or directory - errors and tips
    • [resolved] Problems after upgrade gcc to 3.3.5
    • People upgrading gcc from <=4.1.0 to >=4.1.0-r1 may want to read [bug]73435#c207[/bug]. This file has as of gcc-4.1.0-r1 been intentionally removed.
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.libera.chat
Top
Post Reply
1 post • Page 1 of 1

Return to “Frequently Asked Questions”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy