import gzip error (please help)

S

syahreza.octadian

Dear all,

Please help, i have error message when i import gzip module. The error
like this below:

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.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


Thx u.
Syahreza Octadian
 
F

Fredrik Lundh

syahreza.octadian said:
Please help, i have error message when i import gzip module. The error
like this below:

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.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

the core zlib library (libz.so) isn't installed on your machine.

</F>
 
S

syahreza.octadian

the core zlib library (libz.so) isn't installed on your machine.


but in my machine there is file
-rwxr-xr-x 1 bin bin 48576 Sep 20 2006 /usr/local/lib/
python2.5/lib-dynload/zlib.so


if i have to install zlib library core, where i can found it for
solaris 10 sparcv.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top