[Stackless] Trouble linking on Ubuntu Linux
sipickles at hotmail.com
Sat Jan 12 12:41:08 CET 2008
I can't quite get linkage to work with c++ to stackless python, it
worked with Cpython. I can use stackless in the python interpreter okay too.
I thought I had rebuilt the boost.python library with stackless
included, but it seems not.
simon at simon-desktop:/usr/local/boost_1_34_1$ sudo bjam --with-python stage
This is building using the python code in /usr/local/include/python2.5
(if I move this directory, the above bjam command fails).
bjam runs sucessfully and copies the libs to
However, when I try and integrate a stackless python type like
'PyChannel_new' in c++, it says undefined reference. Note, these
commands do not cause an error so I guess I am linking to the old library?
/usr/local/boost_1_34_1/stage/libs is in my linker search path, and I
have linked with option -lboost_python. Have I missed something?
Linux user #458601 - http://counter.li.org.
More information about the Stackless