[Metakit] trouble installing 2.4.9.4
Jack Diederich
jack at performancedrivers.com
Mon Sep 26 18:37:55 CEST 2005
On Mon, Sep 26, 2005 at 11:26:21PM +0200, Jean-Claude Wippler wrote:
> Jack Diederich wrote:
>
> >I was upgrading from 2.4.9.3 to 2.4.9.4 and I get this error when
> >I tried to load it and get this error.
> >
> >sprat:~/src/metakit-2.4.9.4/builds# python
> >Python 2.4.1 (#2, Mar 30 2005, 21:51:10)
> >[GCC 3.3.5 (Debian 1:3.3.5-8ubuntu2)] on linux2
> >Type "help", "copyright", "credits" or "license" for more information.
> >
> >>>>import metakit
> >>>>
> >Traceback (most recent call last):
> > File "<stdin>", line 1, in ?
> > File "/usr/lib/python2.4/site-packages/metakit.py", line 22, in ?
> > from Mk4py import *
> >ImportError: ./Mk4py.so: undefined symbol:
> >_ZTVN10__cxxabiv117__class_type_infoE
>
> It looks like the .so file links to C++ runtime routines which
> haven't been loaded, presumably because neither Python nor the .so
> have a "-lstdc++".
>
> Could it be that the last link step of the .so is gcc i.s.o. g++?
>
I changed the Makefile from
SHLIB_LD = gcc -shared
to
SHLIB_LD = g++ -shared
and now it works fine, thanks. It used g++ for all the other compiling
steps but not the final linking.
-Jack
More information about the Metakit
mailing list