-
Notifications
You must be signed in to change notification settings - Fork 19
libpng not properly linked to libz in manylinux wheels? #255
Comments
We don't directly use libpng for anything, but it appears that it's supposed to be linked into freetype. |
This seems to be a known issue: pypa/manylinux#60 |
Just to bring the information here - the linked manylinux issue was resolved with auditwheel 1.10, but this problem still occurs with auditwheel 2.0. |
FTR I've solved a similar issue when packaging pygit2 by downloading and statically compiling all non-manylinux1 dependencies. |
Note that Pillow master has dropped support for Python 3.6. |
#254 fixes the link from libpng to libz. But there are other libraries that aren't found - png, webp, lzma, jpeg, libXau and freetype. |
Asking about this in pypa/auditwheel#371, I received this response.
So it would seem this is not a problem. |
What did you do?
With the following Dockerfile:
Run
docker build -t pillow-ldd .
. Observe output of lastRUN
command.What did you expect to happen?
Expected all libraries to be linked successfully.
What actually happened?
All libraries are linked except for
libpng
:Other libraries link to
libz-a147dcb0.so.1.2.3
successfully, just notlibpng
for some reason.I don't know if this manifests in any actual issues. It's just concerning that the library doesn't link.
What versions of Pillow and Python are you using?
As you can see, this is Python 3.6 with Pillow 4.0.0. I've seen the same with Python 2.7 + Pillow 4.0.0.
The text was updated successfully, but these errors were encountered: