embedding & extending [SWIG,newbie]
Gordon McMillan
gmcm at hypernet.com
Sat Feb 19 17:26:04 EST 2000
Tino Roller wrote:
> I have actually started to do some trials with extending/embedding
> python and would like to use python as script language in a project
> written in C.
> Can somebody help me out
It's your compile / link. You haven't made test.o relocatable
(fpic or equivalent), and you haven't linked with export-dynamic
(or equivalent). Linking to libpython1.5.a means you get a
second copy of Python, which, indeed, has not been intialized.
- Gordon
More information about the Python-list
mailing list