[DB-SIG] informixdb

Anthony M. Ingraldi A.M.INGRALDI@larc.nasa.gov
Wed, 29 Jul 1998 09:49:15 -0400

>Both compile very well, but when I try to import the _informixdb module
>there is the followin error:
>ImportError: ld.so.1: python: fatal: relocation error: file
>symbol gl_destroystring: referenced symbol not found
>Do you have any idea why this happens ?

I had a similar problem.  I needed to make some changes to the informixdb
Makefile in order to achieve a successfull import.  The key change is on
the LIBS definition line

old definition:

LIBS=-lasf -lsql -los -lgen

new definition:

LIBS=-lixsql -lixasf -lixgen -lixos -lixgls -lnsl -lsocket -laio -lm
/usr/local/informix/lib/esql/checkapi.o -lixglx

You may need a slightly different definition of LIBS in your environment.
Typing "esql -libs" at a command prompt should give you the necessary
linking information.

  Tony Ingraldi                | e-mail: A.M.INGRALDI@LaRC.NASA.GOV
  NASA Langley Research Center |
  Mail Stop 267                | Phone : (757) 864-3039
  Hampton, VA  23681-2199      | Fax   : (757) 864-7892