Fastolfe has asked for the wisdom of the Perl Monks concerning the following question:
Is there any reason why loading shared libraries would honor an environment variable set before execution of the script as opposed to being set after the script starts executing but before the request for the shared library occurs? Is there any easy way of fixing this in the module that wouldn't involve something at the system-level? The solution I'll end up going with is modifying the user profile to include this Oracle lib directory in LD_LIBRARY_PATH, but I'm wondering why setting this environment variable within Perl would have no effect on the actual library path used.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: Setting LD_LIBRARY_PATH for DynaLoader modules
by tye (Sage) on Jan 05, 2001 at 02:34 UTC | |
by Fastolfe (Vicar) on Jan 05, 2001 at 03:13 UTC | |
by BigJoe (Curate) on Jan 05, 2001 at 23:02 UTC | |
by Fastolfe (Vicar) on Jan 06, 2001 at 02:02 UTC | |
|
Re: Setting LD_LIBRARY_PATH for DynaLoader modules
by chipmunk (Parson) on Jan 05, 2001 at 02:21 UTC | |
by extremely (Priest) on Jan 05, 2001 at 04:57 UTC |