gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: path handling changes to try out ...


From: Dan Pascu
Subject: Re: path handling changes to try out ...
Date: Fri, 15 Feb 2002 01:21:13 +0200 (EET)

On 14 Feb, Helge Hess wrote:
> Question: is it possible to change LD_LIBRARY_PATH after the program is 
> started ? This would be required for "auto-configure".

You surely can, but it obviously can not apply to the program that was
just started, because that is only used when loading dynlibs at startup.
But it will apply to any child started from there on, by the app that
set LD_LIBRARY_PATH.

in C you use setenv(name, value, Bool overwrite);
in a shell script it's even easier.

if the app itself needs a modified LD_LIBRARY_PATH, then you have no
way but to use dynlibs loaded at runtime.

-- 
Dan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]