* LD_PRELOAD
@ 2009-10-21 12:20 adirtymindisajoyforever
2009-10-21 19:52 ` LD_PRELOAD Chris Adams
0 siblings, 1 reply; 4+ messages in thread
From: adirtymindisajoyforever @ 2009-10-21 12:20 UTC (permalink / raw)
Hi,
this is the best match of newsgroups I could find, correct me if I am
wring.
my system is:
# uname -a
OSF1 mymachine V5.1 2650 alpha
Is there any (kernel) configureation needed in order to get LD_PRELOAD
to work?
Although I can't find a way to trace the loading of libs, a printf I
inserted does not
give any output and I don't get the result of what the inserted lib is
supposed to do either.
What makes me more suspicious is that specifying a non existing
library doesn' give
any error.
Thanks for any answer or -> to it.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: LD_PRELOAD
2009-10-21 12:20 LD_PRELOAD adirtymindisajoyforever
@ 2009-10-21 19:52 ` Chris Adams
2009-10-22 10:39 ` LD_PRELOAD adirtymindisajoyforever
0 siblings, 1 reply; 4+ messages in thread
From: Chris Adams @ 2009-10-21 19:52 UTC (permalink / raw)
Once upon a time, adirtymindisajoyforever <getridofthespam@yahoo.com> said:
>Is there any (kernel) configureation needed in order to get LD_PRELOAD
>to work?
The Tru64 dynamic loader doesn't recognize LD_PRELOAD. It 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 <cmadams@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: LD_PRELOAD
2009-10-21 19:52 ` LD_PRELOAD Chris Adams
@ 2009-10-22 10:39 ` adirtymindisajoyforever
2009-10-23 1:46 ` LD_PRELOAD Chris Adams
0 siblings, 1 reply; 4+ messages in thread
From: adirtymindisajoyforever @ 2009-10-22 10:39 UTC (permalink / raw)
On 21 okt, 21:52, cmad...@hiwaay.net (Chris Adams) wrote:
> Once upon a time, adirtymindisajoyforever <getridofthes...@yahoo.com> 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. It 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 <cmad...@hiwaay.net>
> Systems and Network Administrator - HiWAAY Internet Services
> I don't speak for anybody but myself - that's enough trouble.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: LD_PRELOAD
2009-10-22 10:39 ` LD_PRELOAD adirtymindisajoyforever
@ 2009-10-23 1:46 ` Chris Adams
0 siblings, 0 replies; 4+ messages in thread
From: Chris Adams @ 2009-10-23 1:46 UTC (permalink / raw)
Once upon a time, adirtymindisajoyforever <getridofthespam@yahoo.com> said:
>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.
I'm not aware of any way to do that on Tru64.
--
Chris Adams <cmadams@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-10-23 1:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-21 12:20 LD_PRELOAD adirtymindisajoyforever
2009-10-21 19:52 ` LD_PRELOAD Chris Adams
2009-10-22 10:39 ` LD_PRELOAD adirtymindisajoyforever
2009-10-23 1:46 ` LD_PRELOAD Chris Adams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox