in reply to Re: Re: Setting env vars in current process
in thread Setting env vars in current process

Ah, LD_LIBRARY_PATH is a "special" variable. Setting it once your program has started (even in a BEGIN block) is usually too late.

Some previous discussion on this, with a particularly illuminating reply from good brother tye, can be found at programatically setting the LD_LIBRARY_PATH. Searching for LD_LIBRARY_PATH will lead you to the others.

Replies are listed 'Best First'.
Re: Re (3): Setting env vars in current process
by ruscoekm (Monk) on Feb 11, 2003 at 19:40 UTC
    Ah, many thanks for that. (Worries about the loader caching values did very faintly cross my mind - obviously much too faintly :-) I will read all the material and sort out the best approach in my case.

    Thanks again. Kevin