Hi,
We get the below error when running a script to connect to DB.
install_driver(Oracle) failed: Can't load '/app/iw-home/iw-perl/site/lib/auto/DBD/Oracle/Oracle.so' for module DBD:
racle: ld.so.1: DBtest.ipl: fatal: libclntsh.so.9.0: open failed: No such file or directory at /app/iw-home/iw-perl/lib/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at ./DBtest.ipl line 18
When we set the "LD_LIBRARY_PATH" variable from command prompt, the script runs fine, but fails when set in the script.
Will any of you be able to explain why we get the error and a solution for the problem. Script attached.
Env
Solaris 8
TS 6.5 SP2
iwperl 5.8.2
Thanks,
Pratheesh.