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

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

P: n/a
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'
....

Sep 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Yes and it's called python-config...

Sorry for the noise.

Sep 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.