Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libJPEG.dylib name conflict



Ayhan Demiriz wrote:
I hope  this is the right list to ask this question.

I am trying to run gnuplot it gives the following error:

--------
gnuplot

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: /sw/lib/libjpeg.62.dylib

/sw/bin/gnuplot: line 6: 13406 Trace/BPT trap /sw/bin/gnuplotx "$@"
-----

This happens typically if you set the environment variable DYLD_LIBRARY_PATH to something containing /sw/lib/. Don't do this.

After a search on the internet, I understand this is due to the name conflict with Apple's framework library libJPEG.dylib and libjpeg.dylib from fink. They are totally different libraries.

Although I read some messages on the internet regarding a workaround, I was not able to understand what they were saying. Can anyone tell me a workaround for this problem?

Try if running gnuplot with the following command

  env DYLD_LIBRARY_PATH="" gnuplot

works. If yes, then the reason for your error is what I said above.
Don't set DYLD_LIBRARY_PATH in your environment.

--
Martin


_______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden
References: 
 >libJPEG.dylib name conflict (From: Ayhan Demiriz <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.