n0dalus writes:
On 11/24/06, Andrew Haley <aph(a)redhat.com> wrote:
> Erik van Pienbroek writes:
> >
> > The first thing that comes in my mind is bundling your
> > own shared libraries with the application, but for that to
> > work the LD_LIBRARY_PATH= hack is needed, which is also evil.
>
> I read this a couple of times, and I still don't know what problem
> you're referring to. The usual technique is simply to provide a
> wrapper script that sets up whatever environment is required and
> exec's the application.
>
Doesn't using LD_LIBRARY_PATH have the same effect as using static
linking?
Not quite. If you look at Uli's page
(
http://people.redhat.com/drepper/no_static_linking.html) you'll see
that this applies to some of the arguments but not all of them.
Andrew.