CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: DBI:
Error during connecting oracle 10g

 



paresh2011
New User

Jun 18, 2011, 10:58 PM

Post #1 of 1 (7290 views)
Error during connecting oracle 10g Can't Post

This error i get when i run a Hallow world program in this env
Database = Oracle 10g
ActivePerl-5.14.0.1400-MSWin32-x86-294816

Program:-
#!/usr/local/bin/perl
use strict;
use DBI;
my $dbh = DBI->connect( 'dbi:Oracle:orcl', 'scott', '*****',

{ RaiseError => 1, AutoCommit => 0 } );



cmpilation failed in required at E:\perl\d.pl line 5

Error:-

Perl lib version (v5.6.1) doesn't match executable version (v5.14.0) at E:\oracle\product\10.1.0\Db_2\perl\5.6.1\lib\MSWin32-x86/Config.pm line 21.
Compilation failed in require at E:\oracle\product\10.1.0\Db_2\perl\5.6.1\lib\MSWin32-x86/DynaLoader.pm line 25.
BEGIN failed--compilation aborted at E:\oracle\product\10.1.0\Db_2\perl\5.6.1\lib\MSWin32-x86/DynaLoader.pm line 25.
Compilation failed in require at E:\oracle\product\10.1.0\Db_2\perl\site\5.6.1\lib/DBI.pm line 152.
BEGIN failed--compilation aborted at E:\oracle\product\10.1.0\Db_2\perl\site\5.6.1\lib/DBI.pm line 152.
Compilation failed in require at E:\Perl\d.pl line 5.
BEGIN failed--compilation aborted at E:\Perl\d.pl line 5.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives