How to link with 2 isam libraries?

Jon Harder jon at uci.com
Thu Feb 21 08:01:48 AEST 1991


I am trying to link an application that requires isam libraries
from two different vendors (Informix and Disam).  The linker 
complains about multiply defined symbols, because each database
library has several symbols in common.

Can anyone suggest a solution to this problem?

I can think of two solutions that would solve my problem:
   1.  Isolate all of the calls to one of the libraries in a separate
       process and communicate with the process using shared memory,
       pipes, or whatever.
   2.  Change the code so that it uses only Disam or only Informix.

Either change would involve considerable work.  I am hoping someone
can tell me a way to link it as it is.

Thanks   --    Jon Harder   -- jon at uci.com



More information about the Comp.unix.questions mailing list