bug report: PIL install does not find libjpeg...

Félix Sipma <[email protected]> Thu, 20 Sep 2012 11:18:27 +0200
Newsgroups gmane.comp.python.image
Message-ID <20120920091827.GA4001@capeo>
Hi!

"pip install PIL" fails in finding libjpeg, zlib, ... resulting in
multiple "*** LIBNAME support not available".

The reason is that PIL setup.py does not look for libs into
/usr/lib/x86_64-linux-gnu, where libjpeg, zlib and other are located.
The provided patch solves the issue.

I am using debian sid x86_64, but I am sure this bug affects other people.

Regards,

--
Félix

_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
find-libs.patch (text/x-diff, 144 B)
214a215,216
>         add_directory(library_dirs, "/usr/lib/x86_64-linux-gnu")
>         add_directory(library_dirs, "/usr/lib/i386-linux-gnu")