Skip to content
This repository was archived by the owner on Apr 14, 2024. It is now read-only.

Missing link to libz.so #2

Closed
neurogeek opened this issue Aug 26, 2011 · 5 comments
Closed

Missing link to libz.so #2

neurogeek opened this issue Aug 26, 2011 · 5 comments

Comments

@neurogeek
Copy link

Hi,

Testing your pkg, I came across this issue when running the tests. It seems your zlib module needs to link to libz in order to have all symbols defined.

Failure: ImportError (/usr/portage/distfiles/async-0.6.1.orig/build/lib.linux-i686-2.7/async/mod/zlib.so: undefined symbol: inflateEnd) ... ERROR

I leave you the following patch for setup.py

--- async-0.6.1/setup.py    2011-08-26 16:51:57.000000000 -0400
+++ async-0.6.1.orig/setup.py   2010-11-21 07:03:47.000000000 -0500
@@ -77,7 +77,7 @@
       packages = ('async', 'async.mod', 'async.test', 'async.test.mod'),
       package_data={'async' : ['AUTHORS', 'README']},
       package_dir = {'async':''},
-      ext_modules=[Extension('async.mod.zlib', ['mod/zlibmodule.c'], libraries=['z'])],
+      ext_modules=[Extension('async.mod.zlib', ['mod/zlibmodule.c'])],
       license = "BSD License",
       zip_safe=False,
       long_description = """Async is a framework to process interdependent tasks in a pool of workers"""

Best regards,

@htgoebel
Copy link

I can acknowledge this bug and the fix.

@Byron
Copy link
Member

Byron commented Jun 16, 2012

Finally, I applied the patch.
Thanks !

@Byron Byron closed this as completed Jun 16, 2012
@danielfalk
Copy link

Any chance you'll release this change to pypi?

@Byron
Copy link
Member

Byron commented Oct 21, 2012

I will see to get it done in the course of the next week.

@danielfalk
Copy link

Friendly reminder here :-) It still looks like 0.6.1 on pypi

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants