[OS X TeX] Leopard, MacTeX2007 and gv

Martin Costabel costabel at wanadoo.fr
Fri Jun 27 10:01:15 CEST 2008


Peter Dyballa wrote:
> 
> Am 27.06.2008 um 07:44 schrieb Eric van der Oord:
> 
>> dyld: Library not loaded: /usr/X11R6/lib/libXaw3d.7.dylib
>>   Referenced from: /usr/local/bin/gv
> 
> You need to update gv with a Leopard version since in Leopard the X11 
> libraries are in /usr/X11/lib (while the X11 installation is based on 
> X11R7.x).

This is not the right explanation for the error. True, on Leopard, X11 
lives in /usr/X11, but there is also a symlink /usr/X11R6->X11, so the 
old path /usr/X11R6 can be used, too.

The real problem is that gv is linked to libXaw3d which is not part of 
Apple's installation of X11 (and never has been). The version of 
libXaw3d that was installed on the computer where Eric's version of gv 
was built must have come from some third party that placed it into 
/usr/X11R6/lib. More recent installations of libXaw3d (for example from 
Fink) don't do this, they install it somewhere privately, Fink for 
example in /sw/lib/libXaw3d.7.dylib.

If this version of gv comes from MacTeX, and if it is really linked 
against /usr/X11R6/lib/libXaw3d.7.dylib, this would be a serious bug.
If it's Eric's private version, it needs to be rebuilt (or modified with 
some appropriate tool) so as to link against the version of libXaw3d 
installed on his computer.

-- 
Martin






More information about the macostex-archives mailing list