Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!ubc-cs!uw-beaver!mit-eddie!mintaka!olivea!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.wizards Subject: Re: dynamic linking C code with ld link editor Message-ID: <6034@auspex.auspex.com> Date: 14 Feb 91 21:39:52 GMT References: <23713@netcom.COM> <23325@ttidca.TTI.COM> <1991Feb13.200448.20517@agate.berkeley.edu> Organization: Auspex Systems, Santa Clara Lines: 11 >I had this problem for several months until (after much hacking) I got my >dynamic loaders to work with Postgres. It is a rather different idea than >shared libraries - the idea is to load and execute a function (whose name is >unknown beforehand) in an object file given by the user. Different idea, but the SunOS 4.1/S5R4 implementation of it (and, I think, the OSF/1 implementation of it) uses a lot of stuff from the shared library mechanism in the OSes in question. If you're on one of those systems, you don't have to know about executable file formats, or all the other obscure stuff; just use the dynamic loading mechanism that comes with the OS.