Hi All
I'm attempting to use perl DBI/DBD in a .cgi script to access an oracle
database. I can run the script using perl file.cgi successfully but when
I attempt to execute the same cgi script through apache I receive the
following:
Software error:
install_driver(Oracle) failed: Can't load
'/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBD/Oracle/Oracle.so' for module
DBD::Oracle: libclntsh.so.8.0: cannot open shared object file: No such file or
directory at /usr/lib/perl5/5.6.1/i386-linux/DynaLoader.pm line 206.
at (eval 4) line 3
Compilation failed in require at (eval 4) line 3.
Perhaps a required shared library or dll isn't installed where expected
at /home/httpd/cgi-bin/signup.cgi line 32
Are there environment variables I need to set to find the path to this
file, if so, where can I find a list of these variables. The install of
DBI and DBD were successful. Also, the oracle files/shared library files
are indeed where they are supposed to be. Thanks for any help.
Kevin