On Fri, 6 Apr 2001, Dwivedi Ajay kumar wrote:

>       Sorry for confusing you but this is the first time I am playing
> with it. Its like this:

dont worry about that, cause this is the first time i heard somebody doing
*this*

>       I write a small function which has the same name as some library
> function. Now in that function I do some operations and then I call the
> original library function. I compile this file as a shared library and do
> a LD_PRELOAD for it.

        Now for calling the original library function, I can't use the
> same name in the function, but a pointer to the original library function
> which I get using dlsym(). 

ok so far,

>Now on linux RTLD_NEXT takes care of all this,
> but on *BSD, RTLD_NEXT does not exist. Nor does defining it as in glibc

hmm atlast got an inkling to the problem, have to turn it around my head a
bit.

-- sreangsu



----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help

Reply via email to