Re: Need help using Informix inside shared object libraries on SUN
Posted in 1996
Joe Lumbley wrote: > > Gary C. Wheeler (gawheel@ix.netcom.com) wrote: > : We're trying to develop an application that calls functions located > : inside a shared object (.so) library. These functions, in turn, access > : a small Informix database that we've also designed. > > <snip> > > : We're really begining to feel that we simply may be trying to do > : something that Informix (Online 5.0) just isn't capable of handling. > : If so, we need to find out so we can implement a non-Informix > : alternative. Can anyone out there shed any light on this? Thanks!!! > > I had the same problem with 7.11 on FTX 3.0.1. Turned out that it wasnt > until 7.12 (at least in this porting stream), that was compliled properly > to allow true use of shared libraries. I don't think you can do it from > 5.x. > I don't use SUNs, but I can guess that the problem is that Informix does not provide shared library versions of their libraries. Thus the application must link in the non-shared informix library at link-time, rather than have it automagically loaded at run-time. Sounds like the 7.12 flavor of informix provided a shared version of their libraries. Phil -- -------------------------------------------------------------------------- Philip Walden Hewlett Packard Product Generation Information Systems 1501 Page Mill Road, M/S 4U-6 Palo Alto, CA 94304 (415) 857-3899 FAX (415) 857-8234 --------------------------------------------------------------------------