On Nov 26, 10:29 pm, Robie Basak <[EMAIL PROTECTED]> wrote:
> On 2008-11-25, Robie Basak <[EMAIL PROTECTED]> wrote:
>
> > If I use dlopen() to open a shared library that I've written, and that
> > shared library tries to use the Python/C API, then it fails. I've
> > reduced the problem to the test case below. The error is:
>
> > ImportError: /usr/lib/python2.5/lib-dynload/time.so: undefined symbol:
> > PyExc_ValueError
>
> I've submitted a bug for this. Seehttp://bugs.python.org/issue4434for
> an more detailed explanation and a workaround.

It isn't a bug in Python. You need to link the Python shared library
to your shared library properly. You appear not to be doing this.

Graham
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to