First you need the Oracle client libs installed on your PC.  You can get
that from technet.oracle.com.

Then read perldoc DBI and perldoc DBD::Oracle as well as possibly invest in
the book (Programming the Perl DBI).  (hint: Don't use oraperl, use DBI:-)

Ilya

-----Original Message-----
From: Adriano Sastre Vieira
To: [EMAIL PROTECTED]
Sent: 4/8/02 6:27 AM
Subject: Problem with DBD::Oracle and Windows 2000

Hello, I am using Active Perl, web-server OmniHTTPD and Windows 2000.

I have to run scripts that communicates with a Oracle database, and the
database is located in other machine in localNet, a Solaris. I have a IP
and a Port and the name of the database I need, like this:
192.168.20.177:1521:DataBaseName. 

In my machine, I have installed the DBI and DBD::Oracle modules, typing:

ppm install http://www.xmlproj.com/PPM/DBI-1_20.ppd

ppm install http://www.xmlproj.com/PPM/DBD-Oracle-1_12.ppd

Now, I'm trying to run the script following:

  #!perl

  #Adriano Sastre Vieira, 05 de abril de 2002
  #Script perl para conexÒo com banco de dados Oracle.

  do "cgi-lib.pl" || die "Cannot implement cgi-lib. \n";
  &ReadParse;

  use Oraperl;                                      #Usar m¾dulo
Oracle-Perl

But the following error occurs:

  install_driver(Oracle) failed: Can't load
'C:/Perl/site/lib/auto/DBD/Oracle/Orac
  le.dll' for module DBD::Oracle: load_file:NÒo foi possÝvel encontrar o
m¾dulo es
  pecificado at C:/Perl/lib/DynaLoader.pm line 200.
   at (eval 1) line 3
  Compilation failed in require at (eval 1) line 3.
  Perhaps a required shared library or dll isn't installed where
expected
   at C:/Perl/site/lib/Oraperl.pm line 58
  Compilation failed in require at oracle.cgi line 9.
  BEGIN failed--compilation aborted at oracle.cgi line 9.

Can someone help me?

Thanks.
--------------
Adriano Sastre Vieira
Especialista em Sistemas Jr
Inatel Competence Center - www.inatel.br
mailto:[EMAIL PROTECTED]
35 3471 9335


Reply via email to