[Stackless] Building a shared library for stackless on linux

Richard Tew richard.m.tew at gmail.com
Sun Apr 19 21:55:38 CEST 2009


On Sun, Apr 12, 2009 at 7:07 AM, Simon Pickles <sipickles at googlemail.com> wrote:
> I have built stackless 2.52 on Ubuntu linux.
>
> It generates a libpython2.5.a library. What is the procedure to generate
>  libpython2.5.so also? I notice both static and shared versions in my
> original python installation.
>
> My problem is when I embed the stackless python interpreter in a c++ program
> and use 'import time' I get:
>
> ImportError: /usr/local/lib/python2.5/lib-dynload/time.so: undefined symbol:
> PyExc_IOError
>
> I hoped linking to the shared library might help, after some web searches.

Hi Simon,

Did you work out what the problem was?

Cheers,
Richard.




More information about the Stackless mailing list