I'm having the same issues with the zlib from repositories on feisty. I tried
reinstalling the zlib package and also python-minimal (where zlib.so is located)
Python 2.4 imports zlib just fine.
Python 2.5.1 (r251:54863, May 2 2007, 16:56:35)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import zlib
Error in sys.excepthook:
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/apport_python_hook.py", line 30, in
apport_excepthook
import apport.report, apport.fileutils
File "/var/lib/python-support/python2.5/apport/__init__.py", line 1, in
<module>
from apport.report import Report
File "/var/lib/python-support/python2.5/apport/report.py", line 20, in
<module>
from problem_report import ProblemReport
File "/var/lib/python-support/python2.5/problem_report.py", line 15, in
<module>
import bz2, zlib, base64, time, UserDict, sys, gzip
ImportError: /usr/lib/python2.5/lib-dynload/zlib.so: undefined symbol:
inflateCopy
Original exception was:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /usr/lib/python2.5/lib-dynload/zlib.so: undefined symbol:
inflateCopy
>>>
** Changed in: python2.5 (Ubuntu)
Status: Invalid => New
--
zlib module broken in python 2.5
https://bugs.launchpad.net/bugs/126793
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs