From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b3cc53a4cd752b49 X-Google-Attributes: gidfee84,public From: john hall Subject: Re: Wrappers for shared library functions? Date: 1997/03/13 Message-ID: <332901EA.3ED1@netcomuk.co.uk>#1/1 X-Deja-AN: 225288619 References: <331D5BCE.5329@netcomuk.co.uk> <3325B36A.41C6@zk3.dec.com> Organization: NETCOM Internet Ltd. Newsgroups: comp.unix.osf.osf1 Craig Neth USG wrote: > > ................. > Now, at this point, you haven't hooked anything yet. You need one > more thing: > > setenv _RLD_LIST hook.so:DEFAULT > .................... Thanks Craig. Using this technique everything works as hoped for, ..... except my __ini_xxx() functions in the wrapper are not called "automatically" when the library is loaded :-( This isn't a disaster as I can revamp the wrapper library, but what is the rationale behind this - is it a benefit, a bug or a "feature"? I didn't get any hint of this behaviour from the man pages (ld or loader). regards john hall jhall@netcomuk.co.uk