Incorrect libjpeg.dylib after installing ImageMagick
Bryan Blackburn
blb at macports.org
Fri Mar 20 17:20:36 PDT 2009
On Fri, Mar 20, 2009 at 07:00:35PM -0500, Ryan Schmidt said:
[...]
>>> For example mate, php, and others all report this error message:
>>>
>>> dyld: Symbol not found: __cg_jpeg_resync_to_restart
>>> Referenced from:
>>> /System/Library/Frameworks/ApplicationServices.framework/Versions/
>>> A/Frameworks/ImageIO.framework/Versions/A/ImageIO
>>> Expected in: /opt/local/lib/libJPEG.dylib
>
> Curious capitalization: The MacPorts jpeg port provides libjpeg.dylib, not
> libJPEG.dylib.
Probably because ImageIO links to libJPEG.dylib and that plus
case-preserving but case-insensitive makes it see them as the same
library (when DYLD env vars are messed with)...
$ otool -L /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/ImageIO
...
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib (compatibility version 1.0.0, current version 1.0.0)
...
Bryan
[...]
More information about the macports-users
mailing list