Since zlib is a dependency of python, the assumption has to be that it is already present.
I think you can look at the python docs for which versions of zlib you should be dynamically linking against. The docs state "There are known incompatibilities between the Python module and versions of the zlib library earlier than 1.1.3; 1.1.3 has a security vulnerability, so we recommend using 1.1.4 or later." So if I were linking against zlib, I would link against 1.1.4. However, I don't know if zlib has a stable abi... so take that with a pinch of salt.
-----Original Message----- From: Antoine Pitrou email@example.com Sent: Monday, September 3, 2018 6:51 AM To: firstname.lastname@example.org Subject: [Distutils] manylinux1 guidelines for zlib?
Surprisingly, the manylinux1 spec doesn't seem to include the zlib in the
of known-to-be-available libraries (are there GNU/Linux systems out there without a zlib installed?).
Since I'm assuming several packages already had a need for that, is there
recommended way to link in the zlib as part of a manylinux1 wheel? Would you recommend static linking with a private version, or dynamic linking?
Distutils-SIG mailing list -- email@example.com To unsubscribe send an email to firstname.lastname@example.org https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/ Message archived at https://mail.python.org/mm3/archives/list/distutils- email@example.com/message/ZZG6GL3XTBLBJXSITYHEXMFKN43EREB7/