The user that run the script, can read the path?
Try:
Begin{
$ENV{'LD_LIBRARY_PATH'}= "/opt/instantclient_10_2/";
$ENV{'ORACLE_HOME'}= "/opt/instantclient_10_2/";
};
And show more core of your scripts.
| [reply] [d/l] |
HI,
I am calling DB connection in my code. So the PERL program trying to find the LD_LIBRARY_PATH and ORACLE_HOME..
Though I set using $ENV , the perl program is not able to find both Environment variables and giving error.
If I manually set using export command , then works.
Thanks
Sri
| [reply] |