A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/347139.html below:

How to retrieve list of installed module (or gentoo bad installation ?)

How to retrieve list of installed module (or gentoo bad installation ?) How to retrieve list of installed module (or gentoo bad installation ?)mathieu.malaterre at gmail.com mathieu.malaterre at gmail.com
Fri Sep 16 14:12:41 EDT 2005
Hello,

   I am trying to build an executable that link against python
libraries. If I only link to python lib I get thoses errors(*). This
machine is a gentoo AMD64. I installed python by doing 'emerge python'
and my USE flags uses 'zlib'.
   I am wondering if there is a 'python-config' like script that would
tell me that I also need to link against zlib libraries in order to
properly link my executable ?

   Has anyone seen this problem before ? Or is this simply that there
is a misconfiguration problem in my gentoo installation ?

Thanks for your advices,
Mathieu

(*)
/usr/lib64/python2.3/config/libpython2.3.a(zlibmodule.o)(.text+0x19f):
In function `PyZlib_compress':
: undefined reference to `deflateInit_'
/usr/lib64/python2.3/config/libpython2.3.a(zlibmodule.o)(.text+0x1c1):
In function `PyZlib_compress':
: undefined reference to `deflateEnd'
/usr/lib64/python2.3/config/libpython2.3.a(zlibmodule.o)(.text+0x2f8):
In function `PyZlib_compress':
: undefined reference to `deflate'
...


More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4