[Pythonmac-SIG] Conflict between libjpeg in wxPython and PIL

Bob Ippolito bob at redivi.com
Thu Nov 6 15:00:46 EST 2003


On Nov 6, 2003, at 2:47 PM, Nicholas Riley wrote:

> I was attempting to try out Cornice
> <http://web.tiscali.it/agriggio/cornice.html> under Mac OS X.  It uses
> wxPython and PIL to display images.  Unfortunately, there is a
> conflict between the binary distribution of wxPython, which includes
> its own libjpeg, and PIL built with PackageManager, which links with a
> copy of libjpeg I installed with Fink.  This causes Python to crash
> every time I try to view a JPEG format image.
>
> I was able to solve this problem by recompiling wxPython from source
> using libjpeg from Fink, but this is not a convenient solution.  Is it
> possible to fix this problem from either end - perhaps it would help
> if wxPython did not export symbols from libjpeg?

I don't have a real solution for you, but it sounds like one or both 
were linked incorrectly.  You can try the PIL from my site, which is 
probably better than the one on Jack's because it has libjpeg 
statically included and includes better TIFF support.

http://undefined.org/python/pimp/darwin-6.8-Power_Macintosh.html

I will be deprecating this database in favor of a Panther database in 
the next few days.. Sorry guys, but I don't run Jaguar anymore.  I will 
leave all of the Jaguar packages and plists up, but I will no longer be 
maintaining them.  However, as a consolation, I'll add a wiki entry to 
pythonmac.org about how to run your own Package Manager database and 
make it easy/obvious to find the tools that I use to do so.

If you're on Panther, wait a few days.. I'll have a database up pretty 
soon.

-bob




More information about the Pythonmac-SIG mailing list