[Python-Dev] zlib module doesn't build (original) (raw)

[Python-Dev] zlib module doesn't build - inflateCopy() not found

"Martin v. Löwis" martin at v.loewis.de
Sat May 20 08:01:53 CEST 2006


Tim Peters wrote:

That's very peculiar. Python has its own copy of the zlib code now, under Modules/zlib/. That's version 1.2.3.

http://mail.python.org/pipermail/python-dev/2005-December/058873.html inflateCopy() is exported by Modules/zlib/inflate.c. I wonder why the last gcc line above has "-lz" in it?

By convention, the Unix build doesn't use the included zlib. Unix users typically insist on using the system libraries when they are available, so nobody has even contributed a build procedure to use the included zlib optionally.

Regards, Martin



More information about the Python-Dev mailing list