Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: oracle driver for perl
You need to get both the DBI and DBD::Oracle modules built and installed. DBD::Oracle will require some Oracle files (eg includes).
The best way to get all these is to use the CPAN module. I don't know if it
is in 5.005 but try
%perl -MCPAN -e shell.
Configure the CPAN module as per screen prompts and documentation.
CPAN>install DBI
CPAN>install DBD::Oracle
these two will download, build, test and install the modules into you perl set up. While you are about this you can also upgrade your perl but this may require playing with other modules. Current version is 5.6.
Stanley wrote:
> Hi, anyone can tell where to get the captioned driver? I got below error
> message when run my perl script.
> install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC (@INC
> contains: /usr/local/lib/perl5/5.00502/i86pc-solaris
> /usr/local/lib/perl5/5.00502
> /usr/local/lib/perl5/site_perl/5.005/i86pc-solaris
> /usr/local/lib/perl5/site_perl/5.005 .) at (eval 1) line 2.
> Perhaps the DBD::Oracle perl module hasn't been fully installed,
> or perhaps the capitalisation of 'Oracle' isn't right.
> Available drivers: ADO, ExampleP, Proxy.
> at readlog line 117
>
> Thanks in advance. Any inputs would be appreciated.
>
> Stanley
Received on Mon Dec 11 2000 - 05:24:21 CST
![]() |
![]() |