Problem with embedding Python
alain at antinea.org
Thu Mar 30 17:45:24 CEST 2000
> > [alain at kali embed1]$ ./demo
> > Traceback (innermost last):
> > File "<string>", line 1, in ?
> > File "/usr/local/lib/python1.5/site-packages/Numeric/Numeric.py", line
> > 6, in ?
> > import multiarray
> > ImportError:
> > /usr/local/lib/python1.5/site-packages/Numeric/multiarray.so: undefined
> > symbol: _Py_NoneStruct
> > OK
> The problem is with dynamic linking. Insure that your program has the
> correct compiler flags to support dynamic linking and insure that
> /usr/local/lib/python1.5/site-packages/Numeric/multiarray.so is on the
> path that the dynamic linker uses to find libraries.
The configuration seems to be all right. Moreover, the message
symbol: _Py_NoneStruct" shows that the library "multiarray.so" is found,
Another idea ? :-)
More information about the Python-list