[Python-Dev] Python 2.5.1 error when running cvs2svn [SEC=UNCLASSIFIED]

skip at pobox.com skip at pobox.com
Thu Mar 13 14:41:08 CET 2008

    Paul>     import zlib
    Paul> ImportError: ld.so.1: python: fatal: relocation error: file
    Paul> /usr/local/lib/python2.5/lib-dynload/zlib.so: symbol inflateCopy:
    Paul> referenced symbol not found

Try running

    ldd  /usr/local/lib/python2.5/lib-dynload/zlib.so

I'll wager that libz.so is not found.  Either rebuild Python using the -R
flag to hard-code the location of various low-level libraries in Python's
.so files or set LD_LIBRARY_PATH at runtime so the dynamic linker can find

One other thing (well, two).  python-dev at python.org is not the correct place
for these sorts of questions.  Try python-list at python.org instead.  Also,
note that many of us who might read this are at PyCon (http://us.pycon.org/)
which starts this morning and continues through the middle of next week.
Response rates from this list will be reduced.

Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/

More information about the Python-Dev mailing list