[OS X TeX] Re: Leopard, MacTeX2007 and gv

Bruno Voisin bvoisin at mac.com
Sat Jun 28 19:53:23 CEST 2008


Le 28 juin 08 à 15:58, David Watson a écrit :

> Is the Xaw3d library compiled for the intel architechture?
>
> If so, using 'file libXaw3d.dylib' (or whatever it is called) should  
> give something like
>
> /usr/local/bin/lumper: Mach-O universal binary with 2 architectures
> /usr/local/bin/lumper (for architecture i386):	Mach-O executable i386
> /usr/local/bin/lumper (for architecture ppc):	Mach-O executable ppc
>
> Maybe Xaw3d has only been compiled for PPC, and some test in the  
> configure script fails because of that?

Here, on one hand you need to specify the full path to the library:

MacBook-de-Bruno-Voisin:~ bvoisin$ file libXaw3d.dylib
libXaw3d.dylib: cannot open `libXaw3d.dylib' (No such file or directory)

And on the other hand the library is universal binary:

MacBook-de-Bruno-Voisin:~ bvoisin$ file /usr/X11/lib/libXaw3d.dylib
/usr/X11/lib/libXaw3d.dylib: Mach-O universal binary with 2  
architectures
/usr/X11/lib/libXaw3d.dylib (for architecture i386):	Mach-O  
dynamically linked shared library i386
/usr/X11/lib/libXaw3d.dylib (for architecture ppc):	Mach-O dynamically  
linked shared library ppc

MacBook-de-Bruno-Voisin:~ bvoisin$ file /usr/X11/lib/libXaw3d.a
/usr/X11/lib/libXaw3d.a: Mach-O universal binary with 2 architectures
/usr/X11/lib/libXaw3d.a (for architecture i386):	current ar archive
/usr/X11/lib/libXaw3d.a (for architecture ppc):	current ar archive  
random library

Bruno Voisin


More information about the macostex-archives mailing list