Hello,
thanks for providing the answers!
>> Setting LD_LIBRARY_PATH after the program has started will not
>> affect that program. It's too late by then.
> One way around this, if you don't mind your program restarting on its
> own, is to do this. I believe it was someone on this list who pointed
> out this one to me:
> BEGIN
> {
> if (!defined($ENV{'ORACLE_HOME'}))
> {
> $ENV{'ORACLE_HOME'} = "/opt/ivas/oracle/product/8.1.6";
> $ENV{'LD_LIBRARY_PATH'} = $ENV{'ORACLE_HOME'} . "/lib";
> exec($^X, $0, @ARGV);
> }
> }
This sounds like an iteresting option which adds some additional
overhead to the solution I had figured with the shell script but it
gets rid of maintaining a second file with code. Good point!
Thanks a lot,
.kai
--
Kai Jendrian (mailto:[EMAIL PROTECTED]) -- http://www.jendrian.de