[MacPorts] #17910: xmgrace not working on OS X Leapord
#17910: xmgrace not working on OS X Leapord ------------------------------------+--------------------------------------- Reporter: okhalid.cern@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: ------------------------------------+--------------------------------------- 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 -- Ticket URL: <http://trac.macports.org/ticket/17910> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 jmr@…): * priority: High => Normal * port: => grace -- Ticket URL: <http://trac.macports.org/ticket/17910#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 macsforever2000@…): * cc: omer.khalid@… (removed) Comment: xmgrace works fine for me on Leopard. Did you install macports into a non- standard directory? if so, what is it? I have libjpeg.62.dylib at: {{{ /opt/local/lib/libjpeg.62.dylib }}} Also, what does the following command return: {{{ port installed grace jpeg }}} -- Ticket URL: <http://trac.macports.org/ticket/17910#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------+--------------------------------------- Comment(by okhalid.cern@…): Replying to [comment:2 macsforever2000@…]:
xmgrace works fine for me on Leopard. Did you install macports into a non-standard directory? if so, what is it? I have libjpeg.62.dylib at:
{{{ /opt/local/lib/libjpeg.62.dylib }}}
I re-installed macports under standard location and now there is libjpeg.62.dy under /opt/local/lib/ It's also available under: /Users/okhalid/usr/local/bin/MacPorts-1.7.0/lib/
Also, what does the following command return:
{{{ port installed grace jpeg }}}
I did the same as before; just re-installed every thing... I think the problem is with the libjpeg. The installed version by macports is jpeg @ver7_b3 and my guess is that there is a bug in it which is crashing due to ]dyld: Symbol not found: cg_jpeg_resync_to_restart How can i install another and stable version of libjpeg via macports? -- Ticket URL: <http://trac.macports.org/ticket/17910#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------+--------------------------------------- Comment(by okhalid.cern@…): I have checked on the www.ijg.org . libjpeg version 3.6b is considered stable since Mar 1998...so I am not sure about my theory about the bug in it :-S hmm...it might be due to my OS X 10.5.5 Any body else saw the same problem? -- Ticket URL: <http://trac.macports.org/ticket/17910#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------+--------------------------------------- Comment(by okhalid.cern@…): I found the source of problem. There is a libJPEG.dylib on my system already which is actually conflicting with the libjpeg.dylib from macports. [1] http://lists.macromates.com/textmate/2006-June/011449.html [2] http://www.nabble.com/dyld:-Symbol-not-found :-__cg_jpeg_resync_to_restart-td9949988.html 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 :-( 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 But no luck! Any more ideas? -- Ticket URL: <http://trac.macports.org/ticket/17910#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------+--------------------------------------- Comment(by mcalhoun@…): grace works fine on my machine as well. I wonder how any library found[[BR]] /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib. What is the result of {{{ otool -L /opt/local/bin/xmgrace /opt/local/lib/libjpeg.62.dylib }}} ? -- Ticket URL: <http://trac.macports.org/ticket/17910#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 ------------------------------------+--------------------------------------- Comment(by illogic-al@…): I've seen this problem too with the kdepim4 package. The patch included (which is horribly horrible) is an attempt to work around this. I'm also on Leopard running macports 1.7.0 on OS 10.5.6 -- Ticket URL: <http://trac.macports.org/ticket/17910#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------+--------------------------------------- Comment(by illogic-al@…): See ticket #18393 and r46678. -- Ticket URL: <http://trac.macports.org/ticket/17910#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------+--------------------------------------- Comment(by illogic-al@…): files/patch-kresources-CMakeLists.diff is the patch. It just prevents the directory showing this error from compiling. -- Ticket URL: <http://trac.macports.org/ticket/17910#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts