X11 library corrupted
I deleted X11 on OS X 10.7.5 (foolishly) but then realised getting it back was
through Xquartz. I've now ruined somerthing in the library settings, and
programs like Grace won't load.
MacBook-Pro:~ user$ /Applications/Grace.app/Contents/MacOS/start.sh
dyld: Library not loaded: /usr/X11/lib/libX11.6.dylib Referenced from: /Applications/Grace.app/Contents/Resources/grace/bin/xmgrace Reason: Incompatible library version: xmgrace requires version 10.0.0 or later, but libX11.6.dylib provides version 9.0.0 /Applications/Grace.app/Contents/MacOS/start.sh: line 4: 35883 Trace/BPT trap: 5 /Applications/Grace.app/Contents/Resources/grace/bin/xmgrace |
ls -l /usr/X11R6/lib/libX11.6*
lrwxr-xr-x 1 root wheel 14 20 Jan 12:18 /usr/X11R6/lib/libX11.6.2.0.dylib -> libX11.6.dylib -rwxr-xr-x 1 root wheel 3578368 20 Jan 12:19 /usr/X11R6/lib/libX11.6.dylib |
user$ ls -l /usr/X11/lib/libX11.6*
lrwxr-xr-x 1 root wheel 14 20 Jan 12:18 /usr/X11/lib/libX11.6.2.0.dylib -> libX11.6.dylib
-rwxr-xr-x 1 root wheel 3578368 20 Jan 12:19 /usr/X11/lib/libX11.6.dylib
/usr/X11 and /usr/X11R6 are directories
Any help as to how to restore the functionality of my Mac?
MacBook Pro (13-inch, Mid 2012), Mac OS X (10.7.5)