View Single Post

   
  #1 (permalink)  
Old 04-20-2008, 04:31 PM
vipin85@gmail.com
 
Posts: n/a
Default Informix Shared Library Trouble

I am trying to create a shared library written in C which is using
lots of Informix functions such as `ibm_lib4gl_popQuotedStr'.
Platform
is Linux and compiler is GCC.

But I am getting linker error, "undefined reference" for all the
Informix functions that I use.

LD_LIBRARY_PATH is set to the INFORMIXDR/lib, INFORMIXDR/lib/tools,
INFORMIXDR/lib/esql. I also added all the informix libraries using -
l
option to GCC. Still the errors are happening.

Can anybody give a clue on why this error is occurring? Can you
please
let me
know the library that I should link to, for using the functions such
as ibm_lib4gl_popQuotedStr?

At least can someone please gimme a list of functions defined under
each shared library ? So that I can include only those shared
libraries.

Reply With Quote