Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have installed Activeperl from on my PC(Win98). I able to connect to Access database. But I unable to connect to oracle. I am trying to connect to personal oracle8 installed on my computer. Here is the code I have used to connect to oracle:
When I run the script the following error I am getting:use DBI; $dbh = DBI->connect("dbi:Oracle:", "scott","tiger") || die "Unale to c +onnect to oracle. $DBI::errstr\n";
Can someone pl. help me?C:\ActivePerl\examples>perl conn_oracle.pl install_driver(Oracle) failed: Can't load 'C:/ActivePerl/site/lib/auto +/DBD/Oracl e/Oracle.dll' for module DBD::Oracle: load_file:One of the library fil +es needed to run this application cannot be found at C:/ActivePerl/lib/DynaLoade +r.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 expecte +d at conn_oracle.pl line 2
Thanks
Ashok
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: connecting to oracle
by t0mas (Priest) on Nov 16, 2000 at 12:03 UTC | |
by ashok (Sexton) on Nov 16, 2000 at 20:35 UTC | |
|
Re: connecting to oracle
by btrott (Parson) on Nov 16, 2000 at 10:08 UTC | |
|
Re: connecting to oracle
by farnsaw (Initiate) on Nov 16, 2000 at 20:37 UTC | |
|
(jcwren) Re: connecting to oracle
by jcwren (Prior) on Nov 16, 2000 at 09:51 UTC |