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