[C++-sig] Extansion compilation in Linux

Paul Vicenti pvicenti at gmail.com
Thu Oct 4 00:14:48 CEST 2007

I'm moving a project from Windows and I'm having problems to compile. I get a:
'undefined reference to 'PyThreadState_Get' and whatever I use in my
code of Python library.

In windows I include Python.h and it links with python library to
resolve all symbols.
Here, it looks that the include file is found (otherwise, I expect
'cannot open file Python.h') but the library seems not to be linked.

Any help for this?


More information about the Cplusplus-sig mailing list