#17910: xmgrace not working on OS X Leapord ------------------------------------+--------------------------------------- Reporter: okhalid.cern@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: grace ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Old description:
Hi,
I have installed grace-5.1.22 on my machine. Macports successfully installed Grace and i can locate it, man pages work so does the command line grace interface.
But when i launches xmgrace from the console, it fails with the following error:
''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: /Users/okhalid/usr/local/bin/MacPorts-1.7.0/lib/libjpeg.62.dylib
Trace/BPT trap''
Thanks for your help. Regards
Omer
New description: Hi, I have installed grace-5.1.22 on my machine. Macports successfully installed Grace and i can locate it, man pages work so does the command line grace interface. But when i launches xmgrace from the console, it fails with the following error: {{{ 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: /Users/okhalid/usr/local/bin/MacPorts-1.7.0/lib/libjpeg.62.dylib Trace/BPT trap }}} Thanks for your help. Regards Omer -- Comment: Replying to [comment:5 okhalid.cern@…]:
Now I have tried this in my ~/.profile and ~/.basrc : export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib:$DYLD_FALLBACK_LIBRARY_PATH
It does not work :-(
You should not set DYLD_FALLBACK_LIBRARY_PATH. It is not necessary and can cause problems.
I have renamed the libJPEG.dylib to libJPEG.dylib under:
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources
And then created a symbolic link in there to
/opt/local/lib/libjpeg.62.dylib You should not change anything in /System. This will likely cause problems for your operating system. You should change it back to the way it was. -- Ticket URL: <http://trac.macports.org/ticket/17910#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS