[mod_python] Please help.......import gzip error

syahreza octadian syahreza.octadian at gmail.com
Fri Jan 11 02:40:12 EST 2008

Dear all,

i'm new using python, and i have problem while import gzip? is anyone
can help me. i'm using sun os.

The error message like this:
bash-3.00$ python
Python 2.5 (r25:51908, Sep 20 2006, 03:46:40) 
[GCC 3.4.6] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import gzip
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.5/gzip.py", line 9, in <module>
    import zlib
ImportError: ld.so.1: python: fatal: relocation error:
file /usr/local/lib/python2.5/lib-dynload/zlib.so: symbol inflateCopy:
referenced symbol not found

Syahreza Octadian

More information about the Mod_python mailing list