[Image-SIG] Bug fix for PIL 1.1.7 on Debian x64

Matt Lee mattl at gnu.org
Wed Jun 5 20:56:26 CEST 2013


PIL is unable to find essential libraries such as libjpeg on a modern
Debian/Ubuntu system. This fixes that by adding multiarch support to
the list of possible locations for system libraries.

setup.py

215,218d214
<         if os.uname:
<             arch = os.uname()[-1]
<             add_directory(library_dirs, "/usr/lib/" + arch + "-linux-gnu")
<

Best,

matt


More information about the Image-SIG mailing list