Kevin Moore wrote:
> 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
^^^
It _looks_ like you have a DBD::Oracle compiled against Oracle 8i
libraries, your local environment is set to an 8i ORACLE_HOME (so it works)
but your Apache server either is missing the required paths (ORACLE_HOME,
LD_LIBRARY_PATH) or it's pointing to a 9i home (since you mention 9i in the
subject).
--
Andy Hassall ([EMAIL PROTECTED]) icq(5747695) (http://www.andyh.co.uk)
Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space)