Perl DBI Oracle Problem with Apache 2.0.46
From: John Armsby (jaws_at_mindspring.com)
Date: 01/19/05
- Previous message: Jacob: "Re: How do I force a specific compiler in Configure/make"
- Next in thread: John Armsby: "Re: Perl DBI Oracle Problem with Apache 2.0.46 NEVERMIND"
- Reply: John Armsby: "Re: Perl DBI Oracle Problem with Apache 2.0.46 NEVERMIND"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 19 Jan 2005 01:29:21 GMT
I have a little test script which runs from the shell "perl
testOracleObject.pl" It uses DBI successfully and prints a few records to
the screen. No warnings, works great.
I take the same script, add a little html stuff... and run it directly as a
url from cgi-bin
print"content-type: text/html\n\n";
print("<html><body>");
http://ga25web04.wepd.mot.com/cgi-bin/testOracleObject.pl
On Redhat Enterprise release 3 out of the box APACHE 2.0.46 blows up. On
RedHat 9 out of the box Apache 2.0.40 has no problems. /etc/profile on both
Enterprise and redhat 9 boxes are identical. Oracle Installs are identical.
Oracle DBI identical....
[Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81]
install_driver(Oracle) failed: Can't load
'/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBD/Oracle/Orac
le.so' for module DBD::Oracle: libclntsh.so.9.0: cannot open shared object
file: No such file or directory at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
[Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81] at (eval 1) line
3
[Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81] Compilation
failed in require at (eval 1) line 3.
[Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81] Perhaps a
required shared library or dll isn't installed where expected
[Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81] at
oracleConnectionObject.pm line 54
Any ideas?? I am stumped.
John
- Previous message: Jacob: "Re: How do I force a specific compiler in Configure/make"
- Next in thread: John Armsby: "Re: Perl DBI Oracle Problem with Apache 2.0.46 NEVERMIND"
- Reply: John Armsby: "Re: Perl DBI Oracle Problem with Apache 2.0.46 NEVERMIND"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|