libpython2.3.a Linux

David dlegault at vantpoint.com
Sun May 22 16:07:24 EDT 2005


Hello,

I'm trying to build a python module in the form of an .so file but I keep 
getting the following message :

/usr/bin/ld cannot find -llibpython2.3

I have all the necessary files in /usr/local/src/Python-2.3.5

with libpython2.3.a and libpython2.3.so files

g++ -I /usr/local/src/Python-2.3.5/Include -L /usr/local/src/Python-2.3.5 -
shared -fPIC -l libpython2.3 -o file.so

Running on Fedora Core 3 - 1.7.0

made the following steps in compiling and installing Python :

./configure
make
make install
make libpython2.3.so

Compiling on windows 2k is fine.

Thanks for any input.

David






More information about the Python-list mailing list