Re: libJPEG.dylib name conflict
Re: libJPEG.dylib name conflict
- Subject: Re: libJPEG.dylib name conflict
- From: Martin Costabel <email@hidden>
- Date: Sat, 03 Mar 2007 02:05:30 +0100
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)
This email sent to email@hidden