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.
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 <cma...@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
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>
I'm not aware of any way to do that on Tru64.
--
Chris Adams <cma...@hiwaay.net>