| View previous topic :: View next topic |
| Author |
Message |
jdanieli n00b

Joined: 30 Apr 2003 Posts: 7
|
Posted: Sat May 31, 2003 12:33 am Post subject: emerge stopped working cannot find libstdc++.so.5 |
|
|
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 |
|
 |
hielvc Advocate

Joined: 19 Apr 2002 Posts: 2776 Location: Oceanside, Ca
|
|
| Back to top |
|
 |
jdanieli n00b

Joined: 30 Apr 2003 Posts: 7
|
Posted: Mon Jun 02, 2003 2:26 pm Post subject: |
|
|
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 |
|
 |
|