[comp.lang.c] How to link with 2 isam libraries?

jon@uci.com (Jon Harder) (02/21/91)

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@uci.com