[DB-SIG] Unable to complete install of informixdb

Erik Bartels eb@tunes.com
Fri, 18 Sep 1998 13:25:41 -0700


I am trying to get the informixdb module working on Solaris 2.5 / Informix
Version 7.20.UC2.

I changed the LIBS definition in the Makefile to reflect the libraries
listed by 'esql -libs'.

Below is the output:

eb@db3_13:00(~sasha/informix_db)make
/usr/informix/bin/esql -e  ifxdbmodule.ec
gcc -g -DSTEP1 -DEXTENDED_ERROR_HANDLING  -c
ifxdbmodule.c -I/usr/informix/incl/esql -I/usr/local/include/python1.5
gcc -g -DSTEP1 -DEXTENDED_ERROR_HANDLING  -c
dbi.c -I/usr/informix/incl/esql -I/usr/local/include/python1.5
ld -G -o
_informixdb.so  -L/usr/informix/lib/esql -L/usr/informix/lib -lixsql -lixasf
 -lixgen -lixos -lixgls -lnsl -lsocket -laio -lm
dbi.o -lixsql -lixasf -lixgen -lixos -lixgls -lnsl -lsocket -laio -lm -lixsq
l -lixasf -lixgen -lixos -lixgls -lnsl -lsocket -laio -lm
chmod 755 _informixdb.so
eb@db3_13:00(~sasha/informix_db)python
Python 1.5.1 (#1, Aug 10 1998, 16:16:20)  [GCC 2.8.1] on sunos5
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import informixdb
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "informixdb.py", line 16, in ?
    raise ImportError, "Cannot locate C core module for informix db
interface."
ImportError: Cannot locate C core module for informix db interface.
>>> import _informixdb
Traceback (innermost last):
  File "<stdin>", line 1, in ?
ImportError: ld.so.1: python: fatal: libixsql.so: open failed: No such file
or directory
>>>


Any help is appreciated.


Thanks,
Erik Bartels
eb@tunes.com