It means you don't have DBI installed.
You need to install DBI & DBD::Oracle.
Use CPAN and install the DBI Bundle and the install DBD::Oracle.

perl -MCPAN -e shell

...if you want to install DBD::Oracle with CPAN, you will need to
   set your enviorment variables,

   ORACLE_HOME
   LD_LIBRARY_PATH
   ORACLE_SID
   ORACLE_USERID

   these need to be set on any DBD::Oracle install, but I would set
   them before starting CPAN.


On 08-Feb-2003 Alex Tunitsky wrote:
> Please, help me.
> 
> I try to use DBI to connect Oracle (on Linux) using DBI and got this
> message:
> 
> ----------------------------
>#!/usr/bin/perl -w
> 
> [root@localhost /root]# perl
> use DBI;
> Can't locate DBI.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux
> /usr/lib/perl5/5.6.0
> /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
> /usr/lib/perl5/site_perl .) at - line 1.
> BEGIN failed--compilation aborted at - line 1.
> ----------------------------
> 
> What am I missing?
> 
> Thanks,
> 
> Alex
> 
> 

----------------------------------
E-Mail: Scott T. Hildreth <[EMAIL PROTECTED]>
Date: 08-Feb-2003
Time: 08:47:23
----------------------------------

Reply via email to