Problem with embedding Python

Alain alain at antinea.org
Thu Mar 30 10:45:24 EST 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
"ImportError:
/usr/local/lib/python1.5/site-packages/Numeric/multiarray.so: undefined
symbol: _Py_NoneStruct" shows that the library "multiarray.so" is found,
no ?

	Another idea ? :-)

ALain



More information about the Python-list mailing list