Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Duplicate Threads
  • Search

libstdc++.so.6 missing

Threads in this read-only forum cover topics discussed elsewhere in other forums.
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
cram
Guru
Guru
User avatar
Posts: 312
Joined: Sun Nov 17, 2002 5:47 am
Location: Saskatoon, Canada

libstdc++.so.6 missing

  • Quote

Post by cram » Mon Nov 08, 2004 3:48 am

Since I've emerged gcc 3.4.3 I've been getting this error message with several programs:

Code: Select all

error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Anybody else have this problem?
aaarggghhhh.
Good point Chewie.
Top
pifactorial
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 77
Joined: Fri Oct 15, 2004 6:48 pm
Location: 3<x<4 on the gamma function

Confirmed

  • Quote

Post by pifactorial » Mon Nov 08, 2004 3:56 am

Yes, I've had that problem and a number of weird compiling problems. Haven't found a way to fix it yet - creating the file /usr/lib/libstdc++.so.6 from another version of libstdc++ just gives a bunch of nasty version errors:

Code: Select all

~ $ aspell
aspell: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
~ $ cd /usr/lib
/usr/lib $ sudo cp libstdc++.so.2.9 libstdc++.so.6
/usr/lib $ aspell
aspell: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4' not found (required by aspell)
aspell: /usr/lib/libstdc++.so.6: version `CXXABI_1.3' not found (required by aspell)
aspell: /usr/lib/libstdc++.so.6: version `CXXABI_1.3' not found (required by /usr/lib/libaspell.so.15)
aspell: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4' not found (required by /usr/lib/libaspell.so.15)
I'm sure this will be fixed in 3.4.3-r1. Until then... :|
Top
pèdratan
n00b
n00b
Posts: 32
Joined: Tue Feb 04, 2003 7:41 am
Location: Japon

  • Quote

Post by pèdratan » Mon Nov 08, 2004 4:26 am

the profile you were using got deleted, so if you do a

Code: Select all

gcc-config <profile-for-gcc-3.4.3>
you're set.

that fixes it.

Hope it helps.
Top
cram
Guru
Guru
User avatar
Posts: 312
Joined: Sun Nov 17, 2002 5:47 am
Location: Saskatoon, Canada

  • Quote

Post by cram » Mon Nov 08, 2004 4:34 am

Thanks!

That did the trick.
aaarggghhhh.
Good point Chewie.
Top
pifactorial
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 77
Joined: Fri Oct 15, 2004 6:48 pm
Location: 3<x<4 on the gamma function

Darn

  • Quote

Post by pifactorial » Mon Nov 08, 2004 5:02 am

Darn, you beat me to the punch. I was about to post the same fix.
Top
JLP
Tux's lil' helper
Tux's lil' helper
Posts: 143
Joined: Sat Sep 13, 2003 11:42 pm
Location: Slovenia
Contact:
Contact JLP
Website

  • Quote

Post by JLP » Mon Nov 08, 2004 9:21 am

Shouldn't the ebuild be made in such a way that if it upgrades the only GCC version installed it should automatically run gcc-config and select the new profile?
Live long and prosper!
Top
Wildfire
n00b
n00b
User avatar
Posts: 2
Joined: Mon Apr 14, 2003 1:59 am
Contact:
Contact Wildfire
Website

  • Quote

Post by Wildfire » Mon Nov 08, 2004 2:47 pm

Same error, can't use that solution :/

gcc-config -l reports thats the only profile available is i686-pc-linux-3.3.4 Okay, fine, go back to that, maybe it didn't grab all of 3.4.3 for some reason. libstdc++.so.5 is still missing, which consequently makes portage unusable.

Help. Probably missing something fairly obvious, but still learning and would rother get it fixed right that screw it up more
-----------
Winternight Technologies - Comprehensive web solutions for everyone
Top
tobechar
n00b
n00b
User avatar
Posts: 61
Joined: Thu Oct 30, 2003 2:14 pm
Location: Canada

  • Quote

Post by tobechar » Mon Nov 08, 2004 6:37 pm

I re-emerged libtool and was able to switch gcc profiles.
Computin' Since '89
Top
drakos7
Apprentice
Apprentice
User avatar
Posts: 294
Joined: Fri Feb 21, 2003 7:49 pm
Location: Rockville, MD, USA, Earth, Sol
Contact:
Contact drakos7
Website

  • Quote

Post by drakos7 » Mon Nov 08, 2004 6:43 pm

Um, sorry to ask but, what do I put in for the profile? gcc-config -l gives me a Profile does not exist error (I used to have 2 before the upgrade)

Code: Select all

gcc-config <profile-for-gcc-3.4.3> 
EDIT:
found my anser here
http://forums.gentoo.org/viewtopic.php? ... ht=libstdc
Top
Heurisko
n00b
n00b
User avatar
Posts: 16
Joined: Thu Feb 19, 2004 10:39 am
Location: North Texas
Contact:
Contact Heurisko
Website

The fix fixed it, but...

  • Quote

Post by Heurisko » Mon Nov 08, 2004 11:55 pm

The gcc-config fix, listed above, fixed it for me also. But, I came very close to totally dumping Gentoo because of the way portage handled this upgrade.

This is why I make this complaint:
If there is a new version of portage available to be emerged, portage itself will say that it will stop and reload itself before continuing with any other emerge requests in the current list (like if you do an emerge -Dvu world).

Why in the world (no pun intended) wouldn't the Gentoo developers make provision for the same kind of "reloading", as it were, for such major changes as gcc 3.4? It makes not sense whatsover. In fact, I couldn't even finish the emerge request that I was doing today because of this lack of forsight. (This type of change could also require user interaction before continuing with that or any other emerge slated to be completed.)

It also caused me to lose critical time today when kde wouldn't come up because of this oversight.

Really? How hard could it be to integrate that kind of stopage and warning into portage when there are such critical changes that WILL affect your system in such a dramatic way?
Top
jefftang
n00b
n00b
Posts: 30
Joined: Sat Jan 04, 2003 7:28 am

  • Quote

Post by jefftang » Tue Nov 09, 2004 12:14 am

I did:

Code: Select all

gcc-config i686-pc-linux-gnu-3.4.3
but mplayer is still broken and there's no

libstdc++.so.6.so

anywhere under /usr.
Top
plate
Bodhisattva
Bodhisattva
User avatar
Posts: 1663
Joined: Thu Jul 25, 2002 3:28 pm
Location: Berlin

  • Quote

Post by plate » Tue Nov 09, 2004 12:38 am

Read the sticky thread GCC 3.4.3 is upon us! and this bug report.
Top
Post Reply

12 posts • Page 1 of 1

Return to “Duplicate Threads”

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

 

 

magic