[mod_python] undefined symbol: PyThread_acquire_lock

David AnguloJunk davidangulojunk at gmail.com
Tue Jul 1 21:17:57 EDT 2008


Could someone help me please?  In my code, I'm doing a:

    import zlib

and I get this:

   Mod_python error: "PythonHandler www"

   Traceback (most recent call last):

     File "/usr/local/lib/python2.5/site-packages/mod_python/apache.py",
line 181, in Dispatch
       module = import_module(module_name, _req)
     File "/usr/local/lib/python2.5/site-packages/mod_python/apache.py",
line 335, in import_module
       module = imp.load_module(mname, f, p, d)
     File "/home/barnah5/public_html/www/modules/www.py", line 8, in <module>
       import google_sitemap
     File "/home/barnah5/public_html/www/modules/google_sitemap.py",
line 2, in <module>
       import gzip
     File "/usr/local/lib/python2.5/gzip.py", line 9, in <module>
       import zlib
   ImportError: /usr/local/lib/python2.5/lib-dynload/zlib.so:
undefined symbol: PyThread_acquire_lock

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20080701/86dc5001/attachment.html


More information about the Mod_python mailing list