Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!sdd.hp.com!wuarchive!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.programmer Subject: Re: shared libraries, when to use them Keywords: shared libraries .so Message-ID: <8446@auspex.auspex.com> Date: 20 Jun 91 23:54:40 GMT References: <1991Jun11.163544.20234@aio.jsc.nasa.gov> <17106@darkstar.ucsc.edu> <140532@unix.cis.pitt.edu> Organization: Auspex Systems, Santa Clara Lines: 12 > 4.) If you need to support multiple versions of an OS and don't want > to have to worry about what version of the shared libraries your > users have. Depends on the multiple versions in question. In some cases, linking on the older system should suffice (modulo bugs, but kernel bugs can trip up binaries built on other system, as well; in some sense, "/*ix*" can be thought of as a shared library, and I think it *is* one in AIX 3.x). E.g., if you have both 4.0.3 and 4.1[.x] systems, build on the 4.0.3 system. (I'm told one vendor keeps a 4.0 - not 4.0.x, *4.0* - system around for building its products.)