[DB-SIG] Linux & Informix
Anthony M. Ingraldi
Fri, 14 Aug 1998 08:16:52 -0400
At 4:57 PM -0600 8/13/98, Bill Anderson wrote:
>I put informix on my machine at home, and tried the informixdb module,
>it compiled, but threw lines after lines of errors when trying to import
>in the interactive shell for testing. Is this known to *not* work on
I don't know about any Linux-specific problems with informixdb, but it
seems that a common import problem is related to how the module is linked
when you build it. I had to modify the LIBS definition in the Makefile in
order to get a module that would import successfully.
Old LIBS definition:
LIBS=-lasf -lsql -los -lgen
LIBS=-lixsql -lixasf -lixgen -lixos -lixgls -lnsl -lsocket -laio -lm
You may need a slightly different definition of LIBS in your environment.
Typing "esql -libs" at a command prompt should give you the necessary
Perhaps the Makefile in the distribution should include the following for
the LIBS definition:
I don't know if the esql command is available in all Informix
installations, so the above definition may not always work.
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