Re: (Fwd) dbd-oracle-1.16
- From: scoles@xxxxxxxxxxx (John Scoles)
- Date: Thu, 20 Jul 2006 07:23:23 -0400
Oh the top of my head I would say you do not have an oracle client to
compile against. or the client you have is lacking some parts. What is you
Oracle cleint you are trying tocompile against?
"Tim Bunce" <Tim.Bunce@xxxxxxxxx> wrote in message
news:20060720054459.GB8406@xxxxxxxxxxxxxx
----- Forwarded message from Oscar Gomez <ogomez@xxxxxxxxxx> -----
X-Pobox-Antispam: require_ptr/ returned deny: 200.13.228.34 has no PTR
record, or PTR and A records do not match
From: Oscar Gomez <ogomez@xxxxxxxxxx>
To: Tim Bunce <Tim.Bunce@xxxxxxxxx>
Subject: dbd-oracle-1.16
Date: Wed, 19 Jul 2006 16:54:32 -0500
X-OriginatingIP: 10.0.1.50 (ogomez)
Tim
I have the following error when execute program in apache-cgi-oracle
[Wed Jul 19 17:08:18 2006] [error] [client 10.0.1.50]
install_driver(Oracle)
failed: Can't load
'/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Oracle/Oracle.so'
for module DBD::Oracle: libclntsh.so.8.0: cannot open shared object file:
No
such file or directory at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.,
referer:
http://10.0.0.6/cgi-bin/FGI?py6110
[Wed Jul 19 17:08:18 2006] [error] [client 10.0.1.50] at (eval 1) line 3,
referer: http://10.0.0.6/cgi-bin/FGI?py6110
[Wed Jul 19 17:08:18 2006] [error] [client 10.0.1.50] Compilation failed
in
require at (eval 1) line 3., referer: http://10.0.0.6/cgi-bin/FGI?py6110
[Wed Jul 19 17:08:18 2006] [error] [client 10.0.1.50] Perhaps a required
shared library or dll isn't installed where expected, referer:
http://10.0.0.6/cgi-bin/FGI?py6110
perl version 5.8.5
lunux enterprise ES 4
DBD-Oracle-1.16
DBI-1.30
Thanks
--
Open WebMail Project (http://openwebmail.org)
---------- Original Message -----------
From: Tim Bunce <Tim.Bunce@xxxxxxxxx>
To: "Garrett, Philip (MAN-Corporate)" <Philip.Garrett@xxxxxxxxxxx>
Sent: Wed, 19 Jul 2006 08:37:27 -0700
Subject: Re: DBI->installed_drivers() usage
On Wed, Jul 19, 2006 at 09:24:53AM -0400, Garrett, Philip (MAN-C<installed_versions>
Corporate) wrote:
Paul Griffin wrote:
I'm running Win XP with Perl 5.8.8.
If I try and run the following code :
use DBI;
my %drivers = DBI->installed_drivers();
foreach (keys( %drivers)) {
print "$_ uses $drivers{$_}\n";
}
Nothing is returned. Yet if I use :
my @drivers = DBI->available_drivers();
I get a list of drivers that I can then access with :
@dataSources = DBI->data_sources($_);
Am I using DBI->installed_drivers() incorrectly?
DBI->installed_drivers returns only the drivers that are actually
loaded
into the current process. Installed in this case means "installed into
memory."
Ah. The docs weren't clear:
--- DBI.pm (revision 6618)
+++ DBI.pm (working copy)
@@ -2753,10 +2753,15 @@
%drivers = DBI->installed_drivers();
-Returns a list of driver name and driver handle pairs for all
-installed drivers. The driver name does not include the 'DBD::'
-prefix. Added in DBI 1.49.
+Returns a list of driver name and driver handle pairs for all
drivers +'installed' (loaded) into the current process. The driver
name does not +include the 'DBD::' prefix.
+To get a list of all drivers available in your perl instalation you
can use +L</available_drivers>. + +Added in DBI 1.49. + =item
------- End of Original Message -------
DBI->installed_versions;
Tim.
----- End forwarded message -----
.
- References:
- (Fwd) dbd-oracle-1.16
- From: Tim Bunce
- (Fwd) dbd-oracle-1.16
- Prev by Date: Error while running DBI with Perl and MySQL
- Next by Date: Re: make error: 127 for DBI module on AIX 5.2 (DBD::Informix)
- Previous by thread: (Fwd) dbd-oracle-1.16
- Next by thread: RE: (Fwd) dbd-oracle-1.16
- Index(es):
Relevant Pages
|