On 12:33 Fri 01 Sep , widyachacra wrote: > Dear all, > > my gentoo server giving a python error. > > when run emerge command its giving me the bellow error, > > #emerge -pv system > /usr/bin/python: error while loading shared libraries: libstdc++.so.5: > cannot open shared object file: No such file or directory. >
You can check that your libstdc++ is still installed with: # ls -l /usr/lib/libstdc++* libstdc++.so.2.7.2 libstdc++.so.2.8 libstdc++.so.2.9 libstdc++.so.2.7.2.8 libstdc++.so.2.8.0 libstdc++.so.2.9.0 And temporarily, you can symlink it: # cd /usr/lib ; ln -s libstdc++.so.2.9 libstdc++.so.5 Then recompile python remove the symlink and run revdep-rebuild. It often worked for me, so I hope it will work for you too. Nicolas MASSE. -- [email protected] mailing list
