|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
import sdb.sql raising exception
From: Jean-Michel OLTRA (jm.oltra
espinasse.net)
Date: Wed Sep 21 2005 - 02:12:18 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
bonjour,
Here is the output of `python -c "import sdb.sql"` :
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/usr/local/maxdb/interfaces/python/sdb/sql.py", line 35, in ?
importVersionSpecific ()
File "/usr/local/maxdb/interfaces/python/sdb/sql.py", line 33, in importVersionSpecific
module = __import__ (subpackage + '.sql', globals (), locals (), ['*'])
ImportError: /usr/local/maxdb/interfaces/python/sdb/python-py23ucs4/sqlmodule.so: undefined symbol: __gxx_personality_v0
And here are the last lines of `strace -eopen python -c "import sdb.sql"`
open("<string>", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("<string>", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/home/jm/<string>", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/maxdb/interfaces/python/<string>", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/home/jm/modules/python/<string>", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/python23.zip/<string>", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.3/<string>", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.3/plat-linux2/<string>", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.3/lib-tk/<string>", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.3/lib-dynload/<string>", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/python2.3/site-packages/<string>", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.3/site-packages/<string>", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/maxdb/interfaces/python/sdb/sql.py", O_RDONLY|O_LARGEFILE) = 3
open("/usr/local/maxdb/interfaces/python/sdb/sql.py", O_RDONLY|O_LARGEFILE) = 3
What is the <string> file, the driver is looking for ?
And what about this exception.
The machine is running Debian Etch with 2.6.8 kernel
Python version is 2.3.5
Maxdb is 7.6.00.12
with maxdb-python-linux-32bit-i386-7_6_00_12.tar.gz archive
--
jm
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]