PyNIO installation problem on MacOS

From: Thomas Nehrkorn <tnehrkor_at_nyahnyahspammersnyahnyah>
Date: Wed Oct 27 2010 - 09:57:44 MDT


I was able to install (using macports) pyngl on my Mac, but now I am
getting an unsatisfied external when I try to import Nio ("Symbol not
found: _HE5_EHglbattrinfo").

I am running Leopard ("Mac OS X 10.5.8 (9L30)"), and I installed XCode
3.1.4 from a disk image (xcode314_2809_developerdvd.dmg), but someone
else is getting the same error on a snow-leopard (MacOSX10.6) machine.
For the pyngl installation, I copied NCARG, PyNGL and PyNIO
distribution files to the appropriate distfiles directories, and then
ran "sudo port install pyngl" (more info on versions and the exact
error message below).

Any ideas what may be missing and how to fix this (is installation
from binaries or other distribution files better than using macports)?

Thanks for your help.

Thomas Nehrkorn

(e-mail :
  US-Mail: AER, Inc., 131 Hartwell Avenue, Lexington, MA 02421-3126
  Teleph.: (781)-761-2276 FAX: (781)-761-2299

Python and package versions, error message:

  funnel[18]% python
  Python 2.6.6 (r266:84292, Oct 23 2010, 21:01:06)
  [GCC 4.0.1 (Apple Inc. build 5493)] on darwin
  Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.__version__
>>> import Ngl
>>> Ngl.__version__
>>> import Nio
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
line 61, in <module>
      from nio import *
2): Symbol not found: _HE5_EHglbattrinfo
    Referenced from:
    Expected in: dynamic lookup

Installation files:

  funnel[8]% ls -l /opt/local/var/macports/distfiles/python
   -rw-r--r-- 1 root admin 283206 Oct 25 09:23 PyNGL-1.3.0b1.tar.gz
   -rw-r--r-- 1 root admin 71262 Oct 25 09:22 PyNIO-1.3.0b1.tar.gz
  funnel[9]% ls -l /opt/local/var/macports/distfiles/ncarg
   -rw-r--r-- 1 root admin 41457770 Oct 24 18:35
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Wed Oct 27 09:57:14 2010

This archive was generated by hypermail 2.1.8 : Mon Nov 15 2010 - 09:11:30 MST