pythong program install: linking cannot find -lpython2.3

J

Jari Aalto+usenet

[Please keep CC]

Hi,

Where I can specify more linking search directories for a Python
module that makes a gcc build? Setting the LD_LIBRARY_PATH on
command line does not seem to propagate to the linker.

Jari


root@w2kpicasso:/usr/share/site-python/xmldiff-0.6.3# echo $LD_LIBRARY_PATH
/lib:/usr/local/lib:/usr/lib:/usr/lib/python2.3/config

root@w2kpicasso:/usr/share/site-python/xmldiff-0.6.3# python setup.py build
/usr/lib/python2.3/distutils/dist.py:213: UserWarning: 'licence' distribution option is deprecated; use 'license'
warnings.warn(msg)
running build
running build_py
running build_ext
building 'logilab.xmldiff.maplookup' extension
gcc -shared -Wl,--enable-auto-image-base -static -Wall -Wno-format -Wstrict-prototypes -Wmissing-prototypes -DGETTEXT_STATIC build/temp.cygwin-1.3.22-i686-2.3/logilab/xmldiff/extensions/maplookup.o -L. -lpython2.3 -o build/lib.cygwin-1.3.22-i686-2.3/logilab/xmldiff/maplookup.dll
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: cannot find -lpython2.3
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top