Re: can not import Ngl

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Sat Jan 21 2012 - 08:54:22 MST

Hi Saulo,

It looks like the gfortran library didn't get pulled in when it did the build.

Did you set the F2CLIBS (and possibly the F2CLIBS_PREFIX) environment variable?

setenv F2CLIBS gfortran

or

export F2CLIBS=gfortran

Also, if this is in a non-standard location, you may need F2CLIBS_PREFIX to point to the location of libgfortran.so.

For more information, please see:

http://www.pyngl.ucar.edu/Download/build_pyngl_from_src.shtml#SetPyNGLEnvVars

--Mary

On Jan 19, 2012, at 1:17 PM, Saulo Soares wrote:

> Hi,
>
> I did a source install on my x86_64 GNU/Linux Ubuntu 10.04.
> I use the Enthought Python Distribution: Python 2.7.2 |EPD 7.1-2 (64-bit)|, installed on my home directory.
> I compiled using my sys gfortran and gcc 4.4.3.
>
> PyNIO worked fine, but PyNGL although seemed to install correct does not import.
> $ pynglex ngl01p
>
> Error: I am unable to import the NumPy version of Ngl via
> 'import Ngl'.
>
> In the python:
> >>> import Ngl
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/home/saulo/epd-7.1-2-rh5-x86_64/lib/python2.7/site-packages/PyNGL/Ngl.py", line 39, in <module>
> import fplib
> ImportError: /home/saulo/epd-7.1-2-rh5-x86_64/lib/python2.7/site-packages/PyNGL/fplib.so: undefined symbol: _gfortran_concat_string
>
> Any help appreciated,
> Thanks,
> Saulo
> _______________________________________________
> 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 Sat Jan 21 08:54:31 2012

This archive was generated by hypermail 2.1.8 : Mon Feb 06 2012 - 14:54:47 MST