This repository was archived by the owner on Apr 14, 2024. It is now read-only.
This repository was archived by the owner on Apr 14, 2024. It is now read-only.
Missing link to libz.so #2
Closed
Description
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,
Metadata
Metadata
Assignees
Labels
No labels