Install issue: error while loading shared libraries:

Posted by barmikate on 2007-02-05 07:27

I'm trying to install ActivePython on my FC6-64bit box.
I'm getting the following error:
./INSTALLDIR/bin/python: error while loading shared libraries: cannot open shared object file: No such file or directory

I believe I have the lib installed, here is a listing from my /usr/lib directory:

@raptor ActivePython-]$ ls -al /usr/lib/libstdc*
lrwxrwxrwx 1 root root     18 Feb  1 07? /usr/lib/ ->
-rwxr-xr-x 1 root root 733456 Aug 21 08? /usr/lib/
lrwxrwxrwx 1 root root     18 Jan 29 07? /usr/lib/ ->
-rwxr-xr-x 1 root root 939500 Jan  6 12? /usr/lib/

Any help would be appreciated. Thanks.


jeff.griffiths | Mon, 2007-02-05 09:53

Fedora provides a 'compat-libstdc++ 34' or similar package that provides

JeffG | Komodo IDE 4.0 | MacBook Pro OS X Intel / Ubuntu 6.06 i386

barmikate | Mon, 2007-02-05 10:07

That's good but I already have installed (in /usr/lib). That's my problem, it's installed but I still get the error.

jeff.griffiths | Mon, 2007-02-05 11:36

You're installing a 32-bit version of Python though, so you'll need the 32bit libstdc++ 5 library. I'm unsure what the exact name might be for 64 bit Fedora.

JeffG | Komodo IDE 4.0 | MacBook Pro OS X Intel / Ubuntu 6.06 i386

barmikate | Mon, 2007-02-05 11:48

I'm installing a 32-bit version? I thought it was a 64-bit version; this is the file I downloaded...

If this is a 32-bit version will I be able to compile it on my 64-bit machine with my version 4.1.1 gcc?

I haven't been on this 64 bit plaform long, it's all kind of new to me.


trentm | Mon, 2007-02-05 21:25

The ActivePython linux-x84_64 is a *64-bit* build. Jeff was mistaken in calling it a 32-bit build.

mcaldwell | Mon, 2007-02-05 16:41

I don't know if this applies to Fedora, but on my CentOS system 64-bit libraries are in /usr/lib64. You have the x86_64 bit version of ActivePython and /usr/lib/ is the 32-bit library. You need to see if you have /usr/lib64/

I had the opposite problem with Komodo which is only 32-bit and I didn't have any 32-bit libraries installed in /usr/lib on my 64-bit system.

barmikate | Tue, 2007-02-06 11:05

Ok, I removed the 32-bit version of the library ( and installed compat-libstdc++-33 - 3.2.3-61.x86_64.

That did the trick.

Thanks for your help.


Kevinjosua | Tue, 2008-07-22 17:23

download version 2.4.5 and install works like a charm