Incorrect libjpeg.dylib after installing ImageMagick

esiegel at berkeley.edu esiegel at berkeley.edu
Fri Mar 20 11:09:05 PDT 2009


I have been trying to solve this problems for several hours now with many
failed attempts.  I found some answers from before, but they don't seem to
work with me.

Basically, after installing ImageMagick with macports, libjpeg was
installed to /opt/local/lib/libjpeg.dylib, but now several executables
(unrelated to Imagemagick) now point to this library instead of the OS X
default.

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

>From a previous post, it was suggested that I copy the library from
ImageIO folder into the opt/local folder, but this caused library
incompatibility problems.

I have tried uninstalling ImageMagick, but it didn't help.

I have tried searching for every symbolic link hoping that I could change
something to point back to the original library.

I have looked at my .profile .bashrc, etc to see if there was anything
that should be changed, but so far no go.

AHHHH, I'm going crazy.

eric



More information about the macports-users mailing list