Wed May 21 15:34:33 CDT 2008
I am running into a problem with a numpy-compatible extension module
that I develop, and I believe it has to do with PY_ARRAY_UNIQUE_SYMBOL.
I set PY_ARRAY_UNIQUE_SYMBOL to "PyTrilinos". On my machine (Mac OS
X), the module loads and works properly. Another user, however (on
Ubuntu), gets the following:
ImportError: Failure linking new module: /usr/local/lib/python2.4/
packages/PyTrilinos/_Epetra.so: Symbol not found: _PyTrilinos
Referenced from: /usr/local/lib/libpytrilinos.dylib
Expected in: dynamic lookup
On my machine, I see:
$ nm libpytrilinos.dylib | grep PyTrilinos
and I'm not sure where the symbol actually IS defined. I don't
understand enough about how PY_ARRAY_UNIQUE_SYMBOL is actually used to
hunt this down, especially through another user on a machine I don't
have access to.
Any ideas on what I should be looking for?
** Bill Spotz **
** Sandia National Laboratories Voice: (505)845-0170 **
** P.O. Box 5800 Fax: (505)284-0154 **
** Albuquerque, NM 87185-0370 Email: email@example.com **
More information about the Numpy-discussion