Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!hsdndev!bbn.com!fkittred From: fkittred@bbn.com (Fletcher Kittredge) Newsgroups: comp.unix.programmer Subject: Re: shared libraries, when to use them (Really OSF/1 Program Loader) Keywords: shared libraries .so Message-ID: <64799@bbn.BBN.COM> Date: 21 Jun 91 12:28:41 GMT Article-I.D.: bbn.64799 References: <1991Jun11.163544.20234@aio.jsc.nasa.gov> <1991Jun18.050150.17149@thunder.mcrcim.mcgill.edu> <8448@auspex.auspex.com> Sender: news@bbn.com Reply-To: fkittred@spca.bbn.com (Fletcher Kittredge) Organization: Bolt Beranek and Newman Inc., Cambridge MA Lines: 25 In article <8448@auspex.auspex.com> guy@auspex.auspex.com (Guy Harris) writes: > > >You can't, because SunOS doesn't have shared libraries. (What it does > >have is shared object files. What's the difference? You can link in > >part of a library without linking in the rest, among other things.) > >Just out of curiosity, who *has* implemented shared libraries? >("Multics" is, unless I misremember, not the correct answer.) In the Proceedings of this year's Winter Usenix, the OSF people presented a paper called "The OSF/1 Program Loader". I have been playing with the same, and it seems to satisfy the requirements for real shared libraries. In the OSF/1 module, you build libraries to explictly export one or more "packages". At run time, you load the "packages" you need from the libraries. check it out... regards, fletcher Fletcher Kittredge BBN Software Products 150 CambridgePark Dr, Cambridge, MA. 02140 617-873-3465 / fkittred@bbn.com / fkittred@das.harvard.edu