[ncl-install] 64-Bit Libraries on Mac OS X

Mary Haley haley at ucar.edu
Thu Feb 21 09:00:20 MST 2013


Hi Sean,

Which MacOS binary are you using? I think the MacOS 10.6 binary may be 32-bit because it was compiled on a 32-bit system.

If you are using the MacOS 10.7 binary, then it should be 64-bit.

Can you include the error message? It may simply be that the compiler needs help finding the 64-bit cairo libraries.

What does:

locate libcairo

report?

Once you find the file, which will be called something like "libcairo.dylib", you can run "file" on it to see if it's a 64-bit library:

% file /usr/X11/lib/libcairo.dylib
/usr/X11/lib/libcairo.dylib: Mach-O universal binary with 2 architectures
/usr/X11/lib/libcairo.dylib (for architecture x86_64):	Mach-O 64-bit dynamically linked shared library x86_64
/usr/X11/lib/libcairo.dylib (for architecture i386):	Mach-O dynamically linked shared library i386

In the above case, it looks like my cairo is both 32-bit and 64-bit.

--Mary

On Feb 20, 2013, at 12:59 PM, Sean Crowell wrote:

> I'm trying to install RIP version 4, and everything goes well until the compilation tries to link the NCAR Graphics libraries that obtained with my precompiled binary for 6.1.2.  The make output then says that it can't find a bunch of libraries related to cairo for x86_64 architecture.  I finally got it to compile using the binary for 6.0.  Is there any chance you guys created the Mac binary for 6.1.2 without specifying a 64 bit flag?
> 
> Sean
> 
> ======================================
> Sean Crowell
> Postdoctoral Research Associate
> College of Atmospheric and Geographic Sciences
> University of Oklahoma
> Office: NWC 5420
> Phone: (405)325-1089
> scrowell at ou.edu
> 
> 
> 
> 
> 
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20130221/139f5620/attachment.html 


More information about the ncl-install mailing list