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

M

mathieu.malaterre

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'
....
 

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

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top