http://www.perlmonks.org?node_id=666819


in reply to Apache cgi dbi::oracle error

When you say "move it to the Apache server" is that a different physical machine? I'm not a Solaris expert but just from the text itself it sounds like it might be an architecture issue, like you're calling 64-bit Oracle libraries from 32-bit Perl or vice versa, but if it were the same machine that wouldn't happen. The only other generic thing I can think of is environment variables: to make DBD::Oracle work you need at least ORACLE_HOME and possibly LD_LIBRARY_PATH set depending on the setup.

Replies are listed 'Best First'.
Re^2: Apache cgi dbi::oracle error
by rampec (Initiate) on Feb 08, 2008 at 21:26 UTC
    Hi, Thanks for your reply you are right; I have added the env variable in the httpd.conf file to fix this issue and the ld_libraray_path pointing to lib32. Regards, Ram