[DB-SIG] informixdb not working
thomas@pop-siegen.de
thomas@pop-siegen.de
Thu, 24 Jul 1997 14:12:06 +0200
--==_Exmh_-179167566P
Content-Type: multipart/mixed ;
boundary="==_Exmh_-1808719740"
This is a multipart MIME message.
--==_Exmh_-1808719740
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Hello!
I'm new to this mailinglist and also new to python. Please excuse me if this
question has already been asked a couple of times.
After i fixed i little typo in dbi.c (patch attached) i tried to use it.
After further investigating the problem i came up with the following:
[thomas@sun1 ~]$python
Python 1.4 (Dec 12 1996) [GCC 2.7.2]
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import _informixdb
Traceback (innermost last):
File "<stdin>", line 1, in ?
ImportError: ld.so.1: python: fatal: relocation error: symbol not found: _PyObject_New: referenced in /usr/local/lib/python1.4/_informixdb.so
>>>
Can someone help me with an idea about what's going wrong here?
Thanks in advance.
--==_Exmh_-1808719740
Content-Type: text/plain ; name="dbi.diff"; charset=iso-8859-1
Content-Description: dbi.diff
Content-Disposition: attachment; filename="dbi.diff"
Content-Transfer-Encoding: 8bit
--- informixdb/dbi.c Thu May 15 21:24:48 1997
+++ ../informixdb/dbi.c Thu Jul 24 12:39:02 1997
@@ -141,7 +141,7 @@
if (!getargs(args, "(ss)", &format, &input))
return NULL;
- rc = dtcvfmtasc(input, format, datetime);
+ rc = dtcvfmtasc(input, format, &datetime);
if (rc < 0) {
printf("conversion failed\n");
return NULL;
--==_Exmh_-1808719740
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Bis Bald
Thomas
----------------------------------------------------------------
Internet PoP Siegen Phone: +49 271 33879 22
Melanchthonstr. 4-6 Fax: +49 271 33879 44
D-57074 Siegen eMail: stinner@pop-siegen.de
----------------------------------------------------------------
--==_Exmh_-1808719740--
--==_Exmh_-179167566P
Content-Type: application/pgp-signature
-----BEGIN PGP MESSAGE-----
Version: 2.6.3ia
iQCVAwUBM9dGlNqHo3YkuBfVAQFK+gQAxuDR2iR2mmhhiENvfEzr2DKgwjAf3/X4
Iu4CkXwvxU/LuN6gtSt2DE9GohOXM2FGiZ8agFhy2ArR/NjjSxPXhB/OZBABnaqi
zp1iQezRxyBPIaxO7IrOhjk2axLUz4WqMhnjW6cbAqe130+/ErT7ZQ1li25oDPGa
BPuaBANc7n4=
=+Ai0
-----END PGP MESSAGE-----
--==_Exmh_-179167566P--
_______________
DB-SIG - SIG on Tabular Databases in Python
send messages to: db-sig@python.org
administrivia to: db-sig-request@python.org
_______________