[f2py] Import error, Intel Mac OSX

Satellite Data Research Group satgroup at postbox.auckland.ac.nz
Wed Nov 15 00:51:03 EET 2006


Hi,

I'm trying to import the "Hello" example into python.  After running 
the command "f2py -c -m hello hello.f --fcompiler-gnu95" (in bash 
shell), which seems to work properly, I run the command "import hello" 
(in python 2.4.3) and I get the error message:

>>> import hello
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: Failure linking new module: hello.so: Symbol not found: 
___dso_handle
  Referenced from: hello.so
  Expected in: dynamic lookup

Does anyone know what is causing this or any remedies to fix it?

Thanks very much,
Joe Corbett



-----------------------------------------------------------------------
This mail sent through University of Auckland http://www.auckland.ac.nz




More information about the f2py-users mailing list