there are a number of threads on this and the modperl list that address the
issue:

http://marc.theaimsgroup.com/?l=apache-modperl&m=96461467121206&w=2

or 

http://marc.theaimsgroup.com/?l=apache-modperl&m=96682673408989&w=2

or

http://perl.apache.org/guide/troubleshooting.html#install_driver_Oracle_fail
ed_C

each thread outlines a few solutions that have worked for people, but they
all come back to ldconfig (I think) - choose the one that helps you best...

HTH

--Geoff


> -----Original Message-----
> From: Mike Ford [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 22, 2000 1:27 PM
> To: [EMAIL PROTECTED]
> Subject: DBD::Oracle problem in conjunction with Apache.
> 
> 
> 
> I have been able to use DBD::Oracle on my own workstation for 
> quite some
> time now, and haven't had any considerable problems that 
> stopped me dead
> in my tracks.  I've been assisting a coworker who is trying to get
> DBD::Oracle installed on his own test environment and having little
> luck.
> 
> Here's the story so far:
> We've got the DBD::Oracle 1.06 installed as of this morning on his
> RedHat 6.2 box, and no tests are failing under 'make test'.  To
> accomplish this, we have set ORACLE_HOME, ORACLE_USERID, and TWO_TASK,
> as well as appending ORACLE_HOME/lib onto LD_LIBRARY_PATH.  
> We finished
> up with 'make install' and tried running some perl.  As long as we're
> running from command line, the system will connect to the database and
> work properly.  When we attempt to run the same code through the web
> server, it croaks and gives the following error in the log:
> 
> Premature end of script headers: /usr/local/apache/cgi-bin/index.cgi
> install_driver(Oracle) failed: Can't load
> '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/Oracle/Oracle.so'
> for module DBD::Oracle: libclntsh.so.1.0: cannot open shared object
> file: No such file or directory at
> /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169
> 
> at (eval 6) line 3
> Perhaps a required shared library or dll isn't installed 
> where expected
> 
> 
> I can't see the difference in my set up and his (btw, I'm running on
> RH6.1), so I'm not sure why we're encountering this problem.  Anyone
> know a solution?
> 
> Thanks
> -- 
> Mike Ford
> Web Developer, WorkFlow Integrators, Inc.
> [EMAIL PROTECTED]
> www.wfiinc.com
> 
> 
> --------------------------------------------------------------
> ----------------
> DBI HOME PAGE AND ARCHIVES: 
http://www.symbolstone.org/technology/perl/DBI/
To unsubscribe from this list, please visit:
http://www.isc.org/dbi-lists.html
If you are without web access, or if you are having trouble with the web
page, 
please send mail to [EMAIL PROTECTED] with the subject line of:
'unsubscribe'.
----------------------------------------------------------------------------
-- 

Reply via email to