Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge stopped working cannot find libstdc++.so.5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jdanieli
n00b
n00b


Joined: 30 Apr 2003
Posts: 7

PostPosted: Sat May 31, 2003 12:33 am    Post subject: emerge stopped working cannot find libstdc++.so.5 Reply with quote

Hi,
I did an emerge rsysnc and when it finished it said I should emerge portage. So I did that then I updated to the default config files. I then emerged apache-2.0.46 I believe ( the newest version 2) and it went ok. I even started it and it is running. Then I went to emerge some other packages but emerge will not run any more. All I get is :

python 2.2: error while loading shared libraries libstdc++.so.5 cannot open sharred object file: no such file or directory.

I tried the proceedure in usr/portage/sys-apps/portage/files/README.RESCUE but it still does the same thing.

How do I get the libstdc++.so.5 library back without using emerge and in which package is it located? Or more importantly, how do I get emerge working again?

Someone please help.

JoeD
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2776
Location: Oceanside, Ca

PostPosted: Sat May 31, 2003 1:33 am    Post subject: Reply with quote

Look at this link Emerged gcc-3.2.1-r6 and now libstdc++.so.5 not found

hielvc
Back to top
View user's profile Send private message
jdanieli
n00b
n00b


Joined: 30 Apr 2003
Posts: 7

PostPosted: Mon Jun 02, 2003 2:26 pm    Post subject: Reply with quote

The above was helpful. After a while I discovered that everything was there but the paths were all messed up. the last suggestion:

what to do, as root :
gcc-config <chost>-<gcc-version>
to get back your env config
and into /etc/ld.so.conf and change your gcc lib info back to your old gcc directory, then ldconfig, and you get back your working gcc and python

got me back up and running. How can I be sure all my env variables are correct and will load correctly from now on?

JoeD
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
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