Re: getting PyNgl installed...

From: Sourish Basu <S.Basu_at_nyahnyahspammersnyahnyah>
Date: Mon Nov 09 2009 - 08:54:05 MST
Hi Pascale,

    Can you verify that you have an environment variable called DYLD_LIBRARY_PATH, which is a list of directories, and that libgfortran.3.dylib is in one of those folders? For example, for me,

$ echo $DYLD_LIBRARY_PATH
/sw/lib/gcc4.4/lib:/usr/local/lib

 $ ls /sw/lib/gcc4.4/lib/libgfortran.3.dylib
/sw/lib/gcc4.4/lib/libgfortran.3.dylib

-Sourish

Pascale Gerbault wrote:
And when I try to import Ngl in python, I get the following message:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyNGL-1.3.0b1.macosx-10.5-i386-2.5/lib/python2.5/site-packages/PyNGL/Ngl.py", line 38, in <module>
    import fplib
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyNGL-1.3.0b1.macosx-10.5-i386-2.5/lib/python2.5/site-packages/PyNGL/fplib.so, 2): Library not loaded: /usr/local/gfortran/lib/libgfortran.3.dylib
  Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyNGL-1.3.0b1.macosx-10.5-i386-2.5/lib/python2.5/site-packages/PyNGL/fplib.so
  Reason: image not found

_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Mon Nov 9 08:53:25 2009

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