By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,274 Members | 2,281 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,274 IT Pros & Developers. It's quick & easy.

pythong program install: linking cannot find -lpython2.3

P: n/a

[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
Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.