Perl & Oracle:

I am working with Perl CGI, and I need to acceed to an Oracle database.
Actually, my scripts work when I execute them from a shell, but not via my WEB server:

>install_driver(Oracle) failed: Can't load >'/usr/local/depot/perl5.005_03/lib/site_perl/5.005>/sun4-solaris/auto/DBD/Oracle/' for >module DBD::Oracle: /usr/local/bin/perl: >fatal: open failed: No such file or >directory at >/usr/local/depot/perl5.005_03/lib/5.00503/sun4->solaris/ line 169.

In my script, I have initialized the environment variables for Oracle. I don't understand why my server doesn't find these oracle libraries: they are there.

Did anybody have the same problem?

Thanks a lot for your answers, I really need some help.

Who is Participating?
webdbaConnect With a Mentor Commented:
I had this problem just recently while installing DBD::Oracle.  The problem was a failed library from Sun's Freeware Perl.  Try building perl over again and reinstalling DBI and then DBD for oracle and this should correct THIS problem.  You should be able to find the perl binary you need from
How did you initializing env. var. for Oralce? Executing the script from a shell is different from browser because your web server may not have all the access that you have in the shell.
All Courses

From novice to tech pro — start learning today.