Re: libJPEG.dylib name conflict
Re: libJPEG.dylib name conflict
- Subject: Re: libJPEG.dylib name conflict
- From: Ayhan Demiriz <email@hidden>
- Date: Sat, 3 Mar 2007 14:58:32 +0200
The problem has been solved. Thanks a lot. I removed unnecessary
stuff in LD_LIBRARY_PATH and DYLD_LIBRARY_PATH lines in my bash file.
I appreciate it.
Ayhan
On Mar 3, 2007, at 3:05 AM, Martin Costabel wrote:
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