Re: Error load Ngl module

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Dec 20 2011 - 10:41:26 MST

Hi Adam,

The "gproj" symbol is something that's defined in one of the NCL libraries, "libnfpfort.a". It was actually been renamed to "hluproj" in V6.0 of NCL.

Did you build PyNGL from source code or a precompiled binary?

I believe this symbol is coming from the cairo code. If you set HAS_CAIRO 1, then you need to make sure you link PyNGL against a version of NCL that is also cairo-enabled.

If you can tell me more about what version of NCL you're using, whether you installed this from a precompiled binary or source code, and then how you are trying to build PyNGL (i.e. what environment settings do you have), then I might be able to help more.


On Dec 20, 2011, at 10:19 AM, Adam Chamberlin wrote:

> Hi all,
> I have been trying to install PyNGL 1.3.1 on Ubuntu 10.04, with Python 2.6 and NumPy 1.3.0. I was originally having some problems with getting Ngl to load as described in some of the archived message threads found here. However I included the Ngl.pth file pointing to the PyNGL folder into the dist-packages folder, which seemed to solve the import problem; however, now when I attempt to import the module I get another error:
> >>> import Ngl
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "", line 368, in <module>
> from hlu import *
> File "", line 7, in <module>
> import _hlu
> ImportError: /mypath/dist-packages/PyNGL/ undefined symbol: gproj_
> I am a bit new to this so any input would be appreciated.
> Sincerely,
> Adam
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:

pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Tue Dec 20 10:41:30 2011

This archive was generated by hypermail 2.1.8 : Wed Jan 04 2012 - 10:54:01 MST