[DB-SIG] Unable to complete install of informixdb

Erik Bartels eb@tunes.com
Tue, 22 Sep 1998 14:42:16 -0700


eb@db3_13:07(~sasha/informix_db)make clean ; make
rm -rf *.so *.o ifxdbmodule.c
/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 -L/usr/informix/lib/esql -R/usr/informix
/lib/esql -R/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:07(~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 ?
ImportError: ld.so.1: python: fatal: relocation error: file
/usr/informix/lib/esql/libixsql.so: symbol ifx_checkAPI: referenced symbol
not foun

LIBDIRS= -L${INFORMIXDIR}/lib -L${INFORMIXDIR}/lib/esql -R${INFORMIXDIR}/lib
/esql -R${INFORMIXDIR}/lib

Adding the run time library search path (-R) results in the above error.  Am
I heading in the right direction?



> -----Original Message-----
> From: Anthony M. Ingraldi [mailto:a.m.ingraldi@larc.nasa.gov]
> Sent: Monday, September 21, 1998 6:47 PM
> To: eb@tunes.com
> Subject: RE: [DB-SIG] Unable to complete install of informixdb
>
>
> Erik,
>
> >
> >Still not working.  Any other ideas.
> >
> >
>
> What options are you linking the informix module with?  On the Solaris
> system that I run on, I used the -R option with ld to specify the library
> search path.  Alternatively (I think), you could define LD_LIBRARY_PATH to
> include the location of the informix libraries.
>
> Sorry about the previous dead-end advice.
>
> --
>    Tony Ingraldi                         e-mail:
> A.M.INGRALDI@LaRC.NASA.GOV
>    NASA Langley Research Center
>    Mail Stop 267                         Phone : (757) 864-3039
>    Hampton, VA  23681-0001               Fax   : (757) 864-7892
>
>
>