Question About Embedding into C++

Brent Fulgham brent.fulgham at xpsystems.com
Wed May 17 18:52:23 EDT 2000


> 	Traceback (innermost last):
> 	  File "<string>", line 1, in ?
> 	  File "../FXPy/__init__.py", line 21, in ?
> 	  File "../FXPy/fox.py", line 2, in ?
> 	ImportError: foxcmodule.so: undefined symbol: _Py_NoneStruct
> 
This may be a stupid question, but is your program linked
against libpython1.5.a?

Also, did you build your extension module using the Makefile.pre.in
and "make_shared" scripts from the Python distribution?

Thanks,

-Brent




More information about the Python-list mailing list