Subject: Re: replacing so libraries - general question
To: Frederick Bruckman <fredb@immanent.net>
From: Wojciech Puchar <wojtek@tensor.3miasto.net>
List: netbsd-users
Date: 04/07/2003 10:43:45
> > > it's completely not what i'm asking.
> >
> > As a matter of fact, it is valid solution wrt to your question.
>
> That, by itself, isn't going to let you replace a library with a
> library of a *different* *name*. You could use LD_PRELOAD for that.
> You could also point the major (libfoo.N) symlink to the new library,
> while leaving the actual file (libfoo.N.N) intact, or you could even
> do all that in a seperate subdirectory, then point LD_LIBRARY_PATH
> into that, leaving your installed system completely intact. Remember,
> the ".so" link is used at link-time, the ".so.N" link is used at
> run-time (assuming that the SONAME follows convention).
>
> [LD_PRELOAD and LD_LIBRARY_PATH are documented, by the way, in
> ld.elf_so(1).]
you are all experts of knowing better than me what i'm asking, ensuring me
i don't know what i'm asking and simply being unable do read
documentation.
i already did it 2 hours after a question and it works fine