[ODE] python bindings?

Paul Rudin paul.rudin at ntlworld.com
Sun May 18 00:14:01 2003


Bruce Mitchener <bruce@cubik.org> writes:

> Paul Rudin wrote:
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in ?
> > ImportError: /usr/lib/python2.2/site-packages/ode.so: undefined symbol: __cxa_pure_virtual
> > Any suggestions as to what this might be about? TIA.
> 
> I may not be remembering correctly, but make sure that:
> 
>     * You link C++ programs with g++ and not gcc.

Yes - this turns out to be the problem... although in this case gcc
was being invoked indirectly for me by the python setup machinery. So
I'm guessing that it's really either a minor bug in the python
distutils stuff or else in Matthias's setup script?