You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cd /usr/local/lib/python2.4/site-packages/site-packages$ python -c "import
neo_cgi"
Traceback (most recent call last):
File "<string>", line 1, in ?
ImportError: ./neo_cgi.so: undefined symbol: crc32
I am sure you assumed it would come from zlib.h ... not on my system!
I imagine this has to do with Config.CompressionEnabled.
Linux 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64
x86_64 x86_64 GNU/Linux
Original issue reported on code.google.com by [email protected] on 16 Aug 2012 at 8:47
The text was updated successfully, but these errors were encountered:
just to get it to import I commented this out:
clearsilver-0.10.5$ diff cs/csparse_before.c cs/csparse.c
4148c4148
< { "string.crc", 1, _builtin_str_crc},
---
> // { "string.crc", 1, _builtin_str_crc},
not a fix, but perhaps a work around.
I found this patch fixing the import error (seems to be a quite old problem:
https://bugzilla.altlinux.org/show_bug.cgi?id=11798#c2 )
--- clearsilver-0.10.5/python/setup.py 2007-07-12 04:43:33.000000000 +0200
+++ b/python/setup.py 2013-12-20 17:15:10.148975435 +0100
@@ -56,7 +56,7 @@ for line in string.split(rules, "\n"):
if lib not in LIBRARIES:
inserted.append(lib)
sys.stderr.write("adding lib %s\n" % lib)
- LIBRARIES = inserted + LIBRARIES
+ LIBRARIES = LIBRARIES + inserted
elif var == "LDFLAGS":
matches = re.findall("-L(\S+)", val)
inserted = []
Original issue reported on code.google.com by
[email protected]
on 16 Aug 2012 at 8:47The text was updated successfully, but these errors were encountered: