Hello, i would like to use the sdb python modules in my current python installation, i have copied the modules to site-packages and i have this errors:
gentoo ~ # python Python 2.4.4 (#1, Jun 2 2007, 02:07:11) [GCC 4.1.2 (Gentoo 4.1.2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from sdb import sql Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: /usr/lib/python2.4/sdb/sqlmodule.so: undefined symbol: __gxx_personality_v0 >>> from sdb import dbm Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: /usr/lib/python2.4/sdb/dbmmodule.so: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE >>> from sdb import loader Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: /usr/lib/python2.4/sdb/loadermodule.so: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE well i have tried this same machine python2.3 version and i have exactly same errors, but in my windows xp machine using python2.3 i can load the pyd compiled modules doing the same operation (copying the compiled module files to site-packages), i have been googling and seems to be a problem with libstdc++ so i have tested this: gentoo bin # ldd -r ./x_python linux-gate.so.1 => (0xffffe000) libdl.so.2 => /lib/libdl.so.2 (0xb7ead000) libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7e7f000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7e69000) librt.so.1 => /lib/librt.so.1 (0xb7e60000) libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5 (0xb7dab000) libm.so.6 => /lib/libm.so.6 (0xb7d87000) libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1 (0xb7d7c000) libc.so.6 => /lib/libc.so.6 (0xb7c55000) /lib/ld-linux.so.2 (0xb7eeb000) the x_python loads libstdc++ but my python version does not. gentoo bin # ldd -r /usr/bin/python2.4 linux-gate.so.1 => (0xffffe000) libpython2.4.so.1.0 => /usr/lib/libpython2.4.so.1.0 (0xb7e2e000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7e18000) libdl.so.2 => /lib/libdl.so.2 (0xb7e14000) libutil.so.1 => /lib/libutil.so.1 (0xb7e10000) libm.so.6 => /lib/libm.so.6 (0xb7dec000) libc.so.6 => /lib/libc.so.6 (0xb7cc5000) /lib/ld-linux.so.2 (0xb7f58000) gentoo bin # ldd -r /usr/bin/python2.3 linux-gate.so.1 => (0xffffe000) libpython2.3.so.1.0 => /usr/lib/libpython2.3.so.1.0 (0xb7e91000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7e7b000) libdl.so.2 => /lib/libdl.so.2 (0xb7e77000) libutil.so.1 => /lib/libutil.so.1 (0xb7e73000) libz.so.1 => /lib/libz.so.1 (0xb7e61000) libm.so.6 => /lib/libm.so.6 (0xb7e3d000) libc.so.6 => /lib/libc.so.6 (0xb7d15000) /lib/ld-linux.so.2 (0xb7fab000) I have tried to recompile python but i still have the same problem. I have red a old message in list but the user fix the problem using a new version (7.6.00.17) i am using 7.6.02.10 now, Thanks in advance. Best Regards, Miguel Angel. -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]