Re: Problems importing Nio on OSX 10.6 and EPD 5.1.0

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Nov 09 2009 - 08:56:39 MST

Hi Andy,

There's unfortunately a dependency on libgfortran (that we hope to
remove with the next
release).

If you can get the "libgfortran.3.dylib" file, then I think you
should be set.

Please see a similar FAQ on this for NCL:

http://www.ncl.ucar.edu/FAQ/#basics_006

It tells where to get the libgfortran.so.x file.

You might additionally need to setenv DYLD_LIBRARY_PATH to point to
the location
of the directory that contains this file.

The other option, if you can wait a day or so, is that I can try to do a
recent build of PyNIO on my Mac w/o the dependency. It will be on a
Leopard
system, however.

--Mary

On Nov 7, 2009, at 4:14 PM, Andy Aschwanden wrote:

> Hi
>
> I have recently upgraded my python distribution from EPD 5.0 to EPD
> 5.1.0 on Mac OS X 10.6. While the PyNIO 1.3.0b1 binaries for Intel Mac
> 10.5 / python 2.5 worked fine with EPD 5.0 (even on 10.6), I now get
> the following error:
>
>>>> import Nio
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/Library/Frameworks/Python.framework/Versions/5.1.0/lib/
> python2.5/site-packages/PyNIO/Nio.py", line 59, in <module>
> from nio import *
> ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/
> 5.1.0/lib/python2.5/site-packages/PyNIO/nio.so, 2): Library not
> loaded: /usr/local/gfortran/lib/libgfortran.3.dylib
> Referenced from: /Library/Frameworks/Python.framework/Versions/
> 5.1.0/lib/python2.5/site-packages/PyNIO/nio.so
> Reason: image not found
>
> The reason for the upgrade from 5.0 to 5.1 were some other python
> packages that didn't work with 10.6. So, downgrading to EPD 5.0 is not
> an option, unfortunately. Is there a way to fix this, without
> compiling Nio from source?
>
> Thanks in advance, Andy
>
>
> Dr. Andy Aschwanden
> ARSC Postdoctoral Fellow
> Geophysical Institute
> 903 Koyukuk Drive
> Fairbanks AK 99775
> USA
>
> email andy.aschwanden@arsc.edu
> phone +1 (907) 474-7199
> fax +1 (907) 474-7290
>
>
>
> _______________________________________________
> 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
Received on Mon Nov 9 08:55:57 2009

This archive was generated by hypermail 2.1.8 : Tue Dec 01 2009 - 09:32:36 MST