PyNGL/PyNIO on Mac OSX libc++ error?

From: Madeline Miller <madelinem_at_nyahnyahspammersnyahnyah>
Date: Tue Apr 23 2013 - 10:46:06 MDT

Hi,

I am having some issues getting PyNGL and PyNIO installed.
I am using the most recent pre-compiled binaries for Mac OS X, Python 2.7
and NumPy 1.6.
 PyNIO-1.4.1.macos-10.6-x86_64-py271-numpy160-nodap.tar.gz<http://www.earthsystemgrid.org/browse/viewLogicalFile.htm?logicalFileId=01175543-b960-11e0-a567-00c0f03d5b7c>
PyNGL-1.4.0.macos-10.6-x86_64-py271-numpy160.tar.gz<http://www.earthsystemgrid.org/browse/viewLogicalFile.htm?logicalFileId=e43c231a-b960-11e0-a567-00c0f03d5b7c>

These are the details of my operating system/other installations:

Mac OSX 10.6.8 (Snow Leopard)

Python 2.7.3 installed with MacPorts, using GCC 4.2.1

file `which python` returns:
/opt/local/bin/python: Mach-O 64-bit executable x86_64

After installing PyNIO and PyNGL in the python directories, I start python
and try to import Nio and Ngl:

>>> import Nio
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyNIO/Nio.py",
line 63, in <module>
    from nio import *
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyNIO/nio.so,
2): Symbol not found: ___emutls_get_address
  Referenced from: /usr/local/lib/libstdc++.6.dylib
  Expected in: /usr/local/lib/libgcc_s.1.dylib
 in /usr/local/lib/libstdc++.6.dylib

Does anyone know what might be the issue or how to fix this?

There are no errors for import Ngl, but

>>> pynglex -l
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'pynglex' is not defined

I put the binaries pynglex and pynglex 2.7 in the folder:
$PYTHONPREFIX/bin

Should they go somewhere else?

Thanks,

Madeline

_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Tue Apr 23 10:46:34 2013

This archive was generated by hypermail 2.1.8 : Fri May 03 2013 - 07:37:28 MDT