Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
After upgrading gcc, libstdc++.so.5 no longer exists
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
zorth
l33t
l33t


Joined: 17 Feb 2004
Posts: 780
Location: Lovin' Gentoo

PostPosted: Sun Jun 05, 2005 12:34 pm    Post subject: Reply with quote

hi.

thanks a lot zeek :)

i haved this fucking bug while i try to update my system running emerge and i was found your post, a lot useful to me. i resolved my problem. very thanks :)

zeek wrote :

cd /usr/lib/gcc-lib/i686-pc-linux-gnu/
ln -s 3.3.5-20050130 3.3.5
LD_LIBRARY_PATH=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5 env-update


regards from spain and sorry for my english
_________________
Geŋtoo Worłd Rułe§
Back to top
View user's profile Send private message
fc01
n00b
n00b


Joined: 03 Jun 2005
Posts: 12

PostPosted: Sun Jun 05, 2005 1:23 pm    Post subject: Reply with quote

zeek wrote:

The solution:
Code:

cd /usr/lib/gcc-lib/i686-pc-linux-gnu/
ln -s 3.3.5-20050130 3.3.5
LD_LIBRARY_PATH=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5 env-update


Just had the same problem with gcc 3.4.4 - so I did
Code:

cd /usr/lib/gcc/i686-pc-linux-gnu/
ln -s 3.4.4 3.4.3-20050110
LD_LIBRARY_PATH=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.3-20050110 env-update


However, this wasn't enough to get gcc running again, I had to
Code:

cd /etc/env.d/gcc/
ln -s i686-pc-linux-gnu-3.4.4 i686-pc-linux-gnu-3.4.3-20050110


Now it seems everything is okay - hope they get this stupid bug squashed sometime soon...
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Sun Jun 05, 2005 5:27 pm    Post subject: Reply with quote

i think that the newest version of GCC 3.4.4 causes a similar problem to the one referenced in the original post on this thread, albeit for a different reason:

https://forums.gentoo.org/viewtopic-t-345046.html
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
asuweb
n00b
n00b


Joined: 05 Jun 2005
Posts: 4

PostPosted: Sun Jun 05, 2005 9:03 pm    Post subject: Reply with quote

I had the same problem,

I fixed it like this:

cp /usr/lib/gcc-lib/i686-pc-linux-gnu/<version-no>/libstdc++.so.5 /usr/local/lib

cp /usr/lib/gcc-lib/i686-pc-linux-gnu/<version-no>/libstdc++.so.5 /usr/lib


This worked for me.

Alan
Back to top
View user's profile Send private message
STrRedWolf
n00b
n00b


Joined: 02 Sep 2002
Posts: 72

PostPosted: Tue Jun 07, 2005 1:31 am    Post subject: Reply with quote

It hit me too. The end of the above bug report fixes that (relink, gcc-config 1, and source /etc/profile)
Back to top
View user's profile Send private message
balkira
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2004
Posts: 116
Location: /local/pub

PostPosted: Sun Jul 24, 2005 8:06 pm    Post subject: Reply with quote

hi,

I just encountered the same problem and solved it by running:
Code:
#revdep-rebuild --library=libstdc++.so.5

An easier way to fix this up..
_________________
no way to happiness, happiness is the way
Back to top
View user's profile Send private message
xtlosx
Apprentice
Apprentice


Joined: 14 Jan 2006
Posts: 219
Location: Chicago

PostPosted: Sun Apr 02, 2006 10:32 pm    Post subject: Reply with quote

guys hey, i have the same problem... i was trying to upgrade gcc version 3.3.6 to 3.4.5, was following the guide here on the website, i did an emerge -av gcc
it finished...
then i was proceeding to switch to that compiler, then source /etc/profile... and it was fine
then emerge --oneshot -av libtool gave me this

/usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory


now, when i do gcc-config 1 or whatever, it won't change to the other version of gcc, what do i do now?!
Back to top
View user's profile Send private message
xtlosx
Apprentice
Apprentice


Joined: 14 Jan 2006
Posts: 219
Location: Chicago

PostPosted: Sun Apr 02, 2006 10:57 pm    Post subject: Reply with quote

asuweb wrote:
I had the same problem,

I fixed it like this:

cp /usr/lib/gcc-lib/i686-pc-linux-gnu/<version-no>/libstdc++.so.5 /usr/local/lib

cp /usr/lib/gcc-lib/i686-pc-linux-gnu/<version-no>/libstdc++.so.5 /usr/lib


This worked for me.

Alan



solved my problem! perfect!! thanks buddy, cheers!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
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