module informixdb for Python-2.2.2

Martin Erren martin.erren at brainforce.at
Mon Dec 2 10:56:56 EST 2002


Hello!

The newest informixdb module seems to be:

http://starship.python.net/crew/sturner/informixdb.html

but is for Python-1.5

Now I upgraded to Python2.2.2 and
simply copying the old moduls causes the error:

$PYTHONHOME/Lib/informixdb.py:39: RuntimeWarning: Python C API version
mismatch for module _informixdb:
This Python has API version 1011, module _informixdb has version 1007.
  import _informixdb
$PYTHONHOME/Lib/informixdb.py:39: RuntimeWarning: Python C AP
I version mismatch for module dbi: This Python has API version 1011,
module dbi has version 1007.
  import _informixdb
Illegal instruction (core dumped)

is this the "Python Database API Specification 1.0" or the Python API
in
general?

I tried to recompile after using esql, but i didn't managed it, to
link a _informixdb.so due to much unknown dependencies, e.g.
".sqli_connect_open",
loading each informix-module in /usr/informix/lib.

Hope for help and thanks in advance:
Martin Erren



More information about the Python-list mailing list