Hi Logan,

Thanks for this useful information. Didn't know it was possible to rejig 
binaries in that way! I'm taking the liberty of cc:ing your answer to the list. 
I forgot to say that this problem affected both the CCP4-distributed Coot and 
an old stand-alone from Bill Scott that I had in /Library/Coot/bin. It seems 
from your experience that it doesn't affect the latest compiled versions from 
Bill. Regarding the contents of /opt/X11/lib, I have:

lrwxr-xr-x  1 root  wheel      26 Sep 27 17:19 /opt/X11/lib/libXt.6.dylib -> 
/opt/X11/lib/libXt.7.dylib
-rwxr-xr-x  1 root  wheel  698896 Sep 27 07:45 /opt/X11/lib/libXt.7.dylib
lrwxr-xr-x  1 501   wheel      13 Sep 27 10:43 /opt/X11/lib/libXt.dylib -> 
libXt.7.dylib
-rwxr-xr-x  1 root  wheel   71104 Sep 27 07:45 /opt/X11/lib/libXtst.6.dylib
lrwxr-xr-x  1 501   wheel      15 Sep 27 10:43 /opt/X11/lib/libXtst.dylib -> 
libXtst.6.dylib

where the first line is the link I made myself. So libXt.6.dylib seems to have 
been removed in the latest release.

/Derek

On 28 Sep 2016, at 13:16, Logan Donaldson 
<logan.donald...@icloud.com<mailto:logan.donald...@icloud.com>> wrote:

I’m running 10.12.1b2 but not the newest X11 yet.

The quick and dirty permanent way would be to use

install_name_tool -change /opt/X11/lib/libXt.6.dylib /opt/X11/lib/libXt.7.dylib 
coot-bin

I just installed coot-0.8.6.pkg from the Scott lab (for 10.11) and when I 
checked the binary, it already knew to look for libXt.7

LDMBP2015 [7:12am] /Library/Coot/bin                                            
                                                            16 % otool -L 
coot-bin | grep libXt
/opt/X11/lib/libXt.7.dylib (compatibility version 8.0.0, current version 8.0.0)

19 % ls -l /opt/X11/lib/libXt*
-rwxr-xr-x  1 root   wheel  725856 May  5 04:33 /opt/X11/lib/libXt.6.dylib
-rwxr-xr-x  1 root   wheel  694640 May  5 04:33 /opt/X11/lib/libXt.7.dylib
lrwxr-xr-x  1 logan  wheel      13 May  5 13:56 /opt/X11/lib/libXt.dylib -> 
libXt.7.dylib
-rwxr-xr-x  1 root   wheel   71088 May  5 04:33 /opt/X11/lib/libXtst.6.dylib
lrwxr-xr-x  1 logan  wheel      15 May  5 13:56 /opt/X11/lib/libXtst.dylib -> 
libXtst.6.dylib

-logan donaldson




Reply via email to