I'm trying to reinstall PIL on OS X Snow Leopard, and I'm having some issues. PIL builds and installs fine (selftest.py works fine, and running build_ext -i says that jpeg support is okay), but libjpeg is still giving me problems. <div>
<br></div><div>In Python (I'm using the default Apple build, version 2.6), when I try to import _imaging, or do certain things w/ jpegs, I get the error:</div><div><br></div><div><div>>>> import _imaging</div>
<div>Traceback (most recent call last):</div><div> File "<stdin>", line 1, in <module></div><div>ImportError: dlopen(/Library/Python/2.6/site-packages/PIL/_imaging.so, 2): Symbol not found: _jpeg_resync_to_restart</div>
<div> Referenced from: /Library/Python/2.6/site-packages/PIL/_imaging.so</div><div> Expected in: flat namespace</div><div> in /Library/Python/2.6/site-packages/PIL/_imaging.so</div><div><br></div><div><br></div><div>I've tried rebuilding and reinstalling several times, using None for JPEG_ROOT, the Apple supplied libjpeg (/usr/local/lib/libjpeg.dylib) as well as the fink version (/sw/lib/libjpeg.dylib). </div>
<div><br></div><div>Anybody have any ideas what I'm doing wrong?</div><div><br></div><div>Thanks everyone!</div><div><br></div><div>Andy</div></div>