pythong program install: linking cannot find -lpython2.3

Discussion in 'Python' started by Jari Aalto+usenet, Aug 19, 2003.

  1. [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
    Jari Aalto+usenet, Aug 19, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. jordi
    Replies:
    0
    Views:
    390
    jordi
    Jul 16, 2003
  2. Hugh Beyer
    Replies:
    2
    Views:
    302
    Hugh Beyer
    Mar 17, 2006
  3. mobil
    Replies:
    3
    Views:
    230
    Basilisk96
    May 1, 2007
  4. Geon.
    Replies:
    6
    Views:
    448
    Gerhard Häring
    Nov 12, 2008
  5. Gene
    Replies:
    0
    Views:
    121
Loading...

Share This Page