Re: PyNGL/PyNIO binary for MacOS 10.9?

From: Louis Wicker <louis.wicker_at_nyahnyahspammersnyahnyah>
Date: Thu Nov 21 2013 - 15:34:18 MST

Mary - I just tried installing this on my system, I just upgraded to
Mavricks.

Nio went okay, but import Ngl error exits as

ImportError:
dlopen(/Volumes/Master/Users/wicker/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/PyNGL/fplib.so,
2): Library not loaded: /opt/X11/lib/libfontconfig.1.dylib
   Referenced from:
/Volumes/Master/Users/wicker/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/PyNGL/fplib.so
   Reason: Incompatible library version: fplib.so requires version
10.0.0 or later, but libfontconfig.1.dylib provides version 8.0.0

Is this hard to fix at your or my end?

Lou

On 11/21/13, 4:25 PM, Mary Haley wrote:
> Hi Charlie,
>
> I don't have a MacOS 10.9 system handy, but 10.8 binaries should work fine (at least this is the case with other executables I've tried).
>
> I put PyNGL 1.4.0 and PyNIO 1.4.1, compiled with Python 275 and Numpy 162 on ftp:
>
> ftp ftp.ucar.edu
> <log in as "anonymous">
> <Use email address as password>
> cd /pub/scd/haley
> get PyNIO-1.4.1.macos-10.8-x86_64-py275-numpy162.tar.gz
> get PyNGL-1.4.0.macos-10.8-x86_64-py275-numpy162.tar.gz
> quit
>
> You'll want to "tar -zxvf" this file in the root directory of where your python is installed. I'm using a python that I built myself (and not the macports version), so my python installation is pretty basic:
>
> lib/python2.7/site-packages
> bin/python2.7*
> bin/python
>
> If your installation doesn't look like this, for example, if you have "lib64" instead of "lib", then you may need to untar the file somewhere temporary, and change the directories as necessary.
>
> --Mary
>
> On Nov 21, 2013, at 2:09 PM, Mary Haley <haley@ucar.edu> wrote:
>
>> Hi Charlie,
>>
>> I can try to compile you a new version of both.
>>
>> Thanks for the numpy and python versions. I'll see what I can do.
>>
>> --Mary
>>
>> On Nov 20, 2013, at 12:45 PM, Charlie Koven <ckoven@gmail.com> wrote:
>>
>>> Hi Mary, Dave,
>>>
>>> I updated my laptop to the latest MacOS, version 10.9, up from version 10.6 where it had been before. Naturally this broke the PyNGL and PyNIO versions that had been on it. Any chance that there are binaries that would work on the new system? The basic info of my machine is below; I am using the python and numpy that is installed by macports.
>>>
>>> uname -a
>>> Darwin xxxxxxx.dhcp.lbl.gov 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
>>>
>>> python
>>> Python 2.7.5 (default, Aug 25 2013, 00:04:04)
>>> [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
>>> Type "help", "copyright", "credits" or "license" for more information.
>>>>>> import numpy
>>> numpy.__version__
>>>>>> numpy.__version__
>>> '1.6.2'
>>>
>>> Thanks,
>>> Charlie Koven
>>> Lawrence Berkeley Lab
>>> _______________________________________________
>>> pyngl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
>> _______________________________________________
>> pyngl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk

-- 
----------------------------------------------------------------------------
| Dr. Louis J. Wicker
| NSSL/FRDD  Rm 3366
| National Weather Center
| 120 David L. Boren Boulevard, Norman, OK 73072
|
| E-mail:   Louis.Wicker@noaa.gov
| HTTP:    www.nssl.noaa.gov/~lwicker
| Phone:    (405) 325-6340
| Fax:        (405) 325-6780
|
|
I  "In fact the hardest part of research is always to find
|    a question that's big enough thats worth answering
|    but little enough that you can actually answer it"
|
|   Edward Witten
----------------------------------------------------------------------------
|
| "The contents  of this message are mine personally and
| do not reflect any position of  the Government or NOAA."
|
----------------------------------------------------------------------------

_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Thu Nov 21 15:34:26 2013

This archive was generated by hypermail 2.1.8 : Fri Nov 22 2013 - 09:37:03 MST