[Metakit] trouble installing 2.4.9.4
Jean-Claude Wippler
jcw at equi4.com
Tue Sep 27 00:50:47 CEST 2005
Jack Diederich wrote:
> 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
[...]
> 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.
Ah, that explains it. I've changed configure.in and configure as well:
Index: unix/configure
===================================================================
RCS file: /home/cvs/metakit/unix/configure,v
retrieving revision 1.45
diff -u -r1.45 configure
--- unix/configure 10 Jun 2005 16:02:22 -0000 1.45
+++ unix/configure 26 Sep 2005 21:45:49 -0000
@@ -1482,7 +1482,7 @@
if test $SHARED_BUILD = 1; then
SHLIB_FLAGS="-shared"
SHLIB_CFLAGS="-fPIC"
- SHLIB_LD="gcc -shared"
+ SHLIB_LD="g++ -shared"
else
SHLIB_FLAGS=""
SHLIB_CFLAGS=""
Index: unix/configure.in
===================================================================
RCS file: /home/cvs/metakit/unix/configure.in,v
retrieving revision 1.36
diff -u -r1.36 configure.in
--- unix/configure.in 10 Jun 2005 16:02:22 -0000 1.36
+++ unix/configure.in 26 Sep 2005 21:45:49 -0000
@@ -117,7 +117,7 @@
if test $SHARED_BUILD = 1; then
SHLIB_FLAGS="-shared"
SHLIB_CFLAGS="-fPIC"
- SHLIB_LD="gcc -shared"
+ SHLIB_LD="g++ -shared"
else
SHLIB_FLAGS=""
SHLIB_CFLAGS=""
This has been checked into CVS and should solve it for good now.
-jcw
More information about the Metakit
mailing list