public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-server] emerge error
@ 2006-09-01  7:03 widyachacra
  2006-09-01  7:24 ` Nicolas MASSE
  0 siblings, 1 reply; 2+ messages in thread
From: widyachacra @ 2006-09-01  7:03 UTC (permalink / raw
  To: gentoo-server

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.

---------------------------------------------------------------------------------------

so i can't run emerge commands(revdep-rebuild , etc...)

please help me to solve this issue...

-- 
---
PS: This is my private email address.

Budu saranay! Sadaham Phitay! Sangha Rekawaranay! {Theruwan Saranay!}

- Widyachacra Rajapaksha -
-- 
gentoo-server@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-server] emerge error
  2006-09-01  7:03 [gentoo-server] emerge error widyachacra
@ 2006-09-01  7:24 ` Nicolas MASSE
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas MASSE @ 2006-09-01  7:24 UTC (permalink / raw
  To: gentoo-server; +Cc: widyachacra

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.

-- 
gentoo-server@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-01  7:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-01  7:03 [gentoo-server] emerge error widyachacra
2006-09-01  7:24 ` Nicolas MASSE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox