1 |
On 12:33 Fri 01 Sep , widyachacra wrote: |
2 |
> Dear all, |
3 |
> |
4 |
> my gentoo server giving a python error. |
5 |
> |
6 |
> when run emerge command its giving me the bellow error, |
7 |
> |
8 |
> #emerge -pv system |
9 |
> /usr/bin/python: error while loading shared libraries: libstdc++.so.5: |
10 |
> cannot open shared object file: No such file or directory. |
11 |
> |
12 |
|
13 |
You can check that your libstdc++ is still installed with: |
14 |
|
15 |
# ls -l /usr/lib/libstdc++* |
16 |
libstdc++.so.2.7.2 libstdc++.so.2.8 libstdc++.so.2.9 |
17 |
libstdc++.so.2.7.2.8 libstdc++.so.2.8.0 libstdc++.so.2.9.0 |
18 |
|
19 |
And temporarily, you can symlink it: |
20 |
|
21 |
# cd /usr/lib ; ln -s libstdc++.so.2.9 libstdc++.so.5 |
22 |
|
23 |
Then recompile python remove the symlink and run revdep-rebuild. |
24 |
|
25 |
It often worked for me, so I hope it will work for you too. |
26 |
|
27 |
Nicolas MASSE. |
28 |
|
29 |
-- |
30 |
gentoo-server@g.o mailing list |