Not sure this will help, but if you defined a DYLD_LIBRARY_PATH in your .bashrc or .profile get rid of it.

The libraries that macs point to are found assuming this variable is not defined. Somewhere buried in the system it has a path to its own libs. You mess this up when you define dynamic library paths.

hope this helps, Yolande

On Mar 20, 2009, at 11:09 AM, [email protected] wrote:

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

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to