Gari,
This is definitely an XQuartz issue. Have you rebooted your system since installing XQuartz? Does /opt/X11/lib/libGLU.1.dylib exist? In my experience, installing XQuartz can be a finicky process that sometimes requires at least one reboot and a logout/login. If rebooting doesn't solve your issue I would completely uninstall XQuartz:
sudo rm -rf /System/Library/Launch*/org.x.* sudo rm -rf /Applications/Utilities/XQuartz.app sudo rm -rf /opt/X11 sudo rm /usr/X11 sudo rm /usr/X11R6
and reinstall XQuartz, and reboot! I wrote a short wiki page that troubleshoots various freesurfer GUI issues on Mac Snow Leopard:
http://surfer.nmr.mgh.harvard.edu/fswiki/qdec_snowleopard
-Zeke
Update: tkmedit 5.1 is working with Xquartz installed in Snow Leopard, tkmedit 5.2 is not working again.
Any suggestion?
thanks, Gari
On Tue, Mar 12, 2013 at 1:16 PM, Garikoitz Lerma-Usabiaga < garikoitz@gmail.com> wrote:
Hi FS experts, I just installed 5.2 for Snow Leopard in a machine who already had 5.1.
When running tkmedit in 5.1 X11 works well, but when running it from 5.2 it gives the following error:
BRODMANN80:~ glerma$ tkmedit bert T1.mgz dyld: Library not loaded: /opt/X11/lib/libGLU.1.dylib Referenced from: /Users/glerma/Apps/freesurfer/tktools/tkmedit.bin Reason: image not found Trace/BPT trap
I've seen in the mail list that when this happens, Xquartz should be installed.
But, is it a requirement for freesurfer 5.2 in Snow Leopard to run with Xquartz? Should I remove X11 and install Xquartz then? (it may affect other programs and I am reluctant to do it...)
Many thanks, Gari
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer