I'm trying to get Python Imaging (PIL) to work with JPEG. I'm also trying to do this in a way that lets me embed PIL and libjpeg (if not statically linked) into my plugin, so that it's easy for folks without the two installed on their server Mac to work with it.
I've spent the last two days fighting linker issues, and I've got it working on Python 2.7.2, but when run within Indigo I get an error:
Traceback (most recent call last):
File "plugin.py", line 48, in <module>
<type 'exceptions.ImportError'>: dlopen(/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/FooPlugin.indigoPlugin/Contents/Server Plugin/PIL/_imaging.so, 2): Symbol not found: _jpeg_resync_to_restart
Referenced from: /Library/Application Support/Perceptive Automation/Indigo 5/Plugins/FooPlugin.indigoPlugin/Contents/Server Plugin/PIL/_imaging.so
Expected in: flat namespace
in /Library/Application Support/Perceptive Automation/Indigo 5/Plugins/FooPlugin.indigoPlugin/Contents/Server Plugin/PIL/_imaging.so
Can anyone give me any pointers? Has anyone already solved this problem?....
Solve the problem, win a free sandwich
-Alistair
