Embedding Python

Mark Tolonen nospam at nospam.com
Sat Mar 26 20:43:31 CET 2005

"Diez B. Roggisch" <deetsNOSPAM at web.de> wrote in message 
news:d24ao4$8c1$00$1 at news.t-online.com...
>> This works for me on Redhat 9:
>> g++ x.cpp -o x -I/usr/include/python2.2 -pthread -lm
>>   -ldl -lutil /usr/lib/python2.2/config/libpython2.2.a
> Why did you chose the static variant? This should be equivalent:
> g++ x.cpp -o x -I/usr/include/python2.2 -pthread -lm
>  -ldl -lutil -lpython2.2
> -- 
> Regards,
> Diez B. Roggisch

On my system, for whatever reason, the .so library isn't present.  I have 
the python-devel package installed.


More information about the Python-list mailing list