From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: e63b27eb52,2c8716fbd1be2a39 X-Google-Attributes: gide63b27eb52,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!o36g2000vbl.googlegroups.com!not-for-mail From: adirtymindisajoyforever Newsgroups: comp.unix.tru64 Subject: Re: LD_PRELOAD Date: Thu, 22 Oct 2009 03:39:48 -0700 (PDT) Organization: http://groups.google.com Message-ID: <20507303-b1b9-4318-993a-eaef1dd8c055@o36g2000vbl.googlegroups.com> References: <-vedncRIp8UH-0LXnZ2dnUVZ_s6dnZ2d@posted.hiwaay2> NNTP-Posting-Host: 194.113.59.80 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1256207988 22542 127.0.0.1 (22 Oct 2009 10:39:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 22 Oct 2009 10:39:48 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o36g2000vbl.googlegroups.com; posting-host=194.113.59.80; posting-account=PbOILgoAAAC6tQmG77GmolWXW7RNDq5u User-Agent: G2/1.0 X-HTTP-Via: 1.1 de100418-proxy1 (NetCache NetApp/6.0.6P1) X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.14) Gecko/2009082707 Firefox/3.0.14 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.unix.tru64:130 On 21 okt, 21:52, cmad...@hiwaay.net (Chris Adams) wrote: > Once upon a time, adirtymindisajoyforever =A0 = said: hi, Thanks for the answer, this problem is solved. the next one is that mu shared lib contains an init function that should be called upon program execution start. I couldn't find anything in the man page. Tried __istart to no success. > > >Is there any (kernel) configureation needed in order to get LD_PRELOAD > >to work? > > The Tru64 dynamic loader doesn't recognize LD_PRELOAD. =A0It does > recognize _RLD_LIST, but it works a little differently than LD_PRELOAD. > To pre-load a dynamic lib in /path/foo.so, you set _RLD_LIST to > "/path/foo.so:default". > > See "man loader" for more information. > -- > Chris Adams > Systems and Network Administrator - HiWAAY Internet Services > I don't speak for anybody but myself - that's enough trouble.