built with --enable-shared but get error: libpython2.3.so.1.0: can't open shared object file

Douglass Turner turner at mmedia.is
Thu Sep 4 08:45:21 EDT 2003


Hi,

Please release me from my own private hell.

Platform: SuSE 8.1

I'm installing python 2.3 tarball as follows:

./configure --enable-shared
make
make install

When I simply type:

% python

I get:

python: error while loading shared libraries: libpython2.3.so.1.0:
cannot open shared object file: No such file or directory

This is really, really, frustrating. The file does in fact live in
/usr/local/lib. Interestingly this is outside PYTHONHOME. How do I fix
this silly problem (which the python install process should *never*
let happen in the first place).


-Doug




More information about the Python-list mailing list