After installing the DBI package did you also install the DBD::Oracle
package? You should if not. Make sure that if you will or already
installed DBD::Oracle that you install(ed) under the same perl installation
in you case 'nsperl' since the machine might have more than one perl
installation. Or if you installed DBD::Oracle under a directory other than
what's under @INC than you need to add this line to your program...
use lib "path_to_dbd_oracle"
or
BEGIN
{
push(@INC, "path_to_dbd_oracle");
}
Ilya Sterin
-----Original Message-----
From: Julio Santiago
To: [EMAIL PROTECTED]
Sent: 03/07/2001 5:36 AM
Subject: DBD Oracle Problem
First of all
Ilya, Jonathan thanks for the hint on the C Compiler.
I have DBI 1.14 & DBD Oracle 1.06 installed on a Solaris.
When I try to execute my perl scripts I get the followin error:
$ nsperl miprueba.pl
install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC (@INC
contains: /usr/local/nsPerl5.005_03/lib/sun4-solaris
/usr/local/nsPerl5.005_03/lib
/usr/local/nsPerl5.005_03/lib/site_perl/sun4-solaris
/usr/local/nsPerl5.005_03/lib/site_perl .
/LOCAL/nsPerl5.005_03/lib/sun4-solaris /LOCAL/nsPerl5.005_03/lib
/LOCAL/nsPerl5.005_03/lib/site_perl/sun4-solaris
/LOCAL/nsPerl5.005_03/lib/site_perl .) at (eval 2) line 3.
Perhaps the DBD::Oracle perl module hasn't been fully installed,
or perhaps the capitalisation of 'Oracle' isn't right.
Available drivers: ADO, ExampleP, Multiplex, Proxy.
at miprueba.pl line 46
Any hints?
Thanks
Julio Santiago
________________________________________________________________________
_
Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.