Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

ss4000 recovery array, intel ss4000 xfs, Proxy.in.audi.vwg, intel ss4000 data recovery, mysql andreas pankratz, maximum execution time exceeded php meldung abfangen, how to convert .cap file to .txt, WWWXXXAPC, WWWXXXAPC site:board.issociate.de, change font size ncurses

Links

XODOX
Impressum

#1: install_driver(Oracle) failed: Can"t load "C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll" for module D

Posted on 2005-10-14 12:08:11 by Feyruz

hello
i have a strange problem with DBI module.
has anyone any clue about what is wrong here?

my connection string:
---------------------
use DBI;
use DBD::ODBC;
use DBI qw(:sql_types);
use strict;
use warnings;

my $db = "something";
my $user = 'XXX';
my $passwd = 'XXX';
my $dbh = DBI->connect('dbi:Oracle:XXX',
$user,$passwd,
{RaiseError => 1,
AutoCommit => 0}) or die
$DBI::errstr;

#################
This gives the following error:
------------------------------
install_driver(Oracle) failed: Can't load
'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle:
load_file:The specified procedure could not be found at
C:/Perl/lib/DynaLoader.pm line 230.
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 Q:\data\PIPELINE\PERL_F~1\Kg\Tools\Db\dbTest.pl line 12
####################
I am using active perl for windows. DBI worked fine before. I dont why
this happens now.

Thanks for any reactions

Report this message

#2: Re: install_driver(Oracle) failed: Can"t load "C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll"for modul

Posted on 2005-10-14 14:57:06 by Graham Wood

Feyruz wrote:
> use DBI;
> use DBD::ODBC;
<snip>
> my $dbh = DBI->connect('dbi:Oracle:XXX',
> $user,$passwd,
> {RaiseError => 1,
> AutoCommit => 0}) or die
> $DBI::errstr;
>

You're using syntax that tells the DBI module to use a DBD::Oracle
connection and there is nothing to tell DBI that it should use DBD::ODBC.

Use dbi:ODBC:XXX instead of dbi:Oracle:XXX

Graham

Report this message

#3: Re: install_driver(Oracle) failed: Can"t load "C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll" for modu

Posted on 2005-10-14 15:42:04 by Feyruz

yes you are right abou that. BUT it is not the real problem.
I have an oracle database.
I have changed the perl script:

use DBI;
use strict;
use warnings;


my $user = 'XXX';
my $passwd = 'XXXX';
my $dbh = DBI->connect('dbi:Oracle::XXXXX',
$user,$passwd,
{RaiseError => 1,
AutoCommit => 0}) or "die
$DBI::errstr";


#my $sql = qq{ CREATE TABLE employees ( id INTEGER NOT NULL,
# name VARCHAR2(128),
# title VARCHAR2(128),
# phone CHAR(8)
# ) };
#$dbh->do( $sql );

$dbh->disconnect();
#######################

THIS STILL DOES NOT WORK.
I get this same error:

install_driver(Oracle) failed: Can't load
'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle:
load_file:The specified procedure could not be found at
C:/Perl/lib/DynaLoader.pm line 230.
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

Report this message

#4: Re: install_driver(Oracle) failed: Can"t load "C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll" for modu

Posted on 2005-10-14 16:11:53 by Feyruz

I really dont understand this.
I have installed the new DBD-ORACLE version 1.16. and still nothing,
the same annoying error.

I have uninstalled PERL. I have uninstalled DBI, DBD-ODBDC, DBD-ORACLE.

And then installed them all again. AND NO, IT DOES NOT WORK...

Such a simple connect string to an Oracle database shouldnt give an
errror like this???
***************************
install_driver(Oracle) failed: Can't load
'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle:
load_file:The specified procedure could not be found at
C:/Perl/lib/DynaLoader.pm line 230.
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

*************************
What is this error all about? I think i am losing my mind

Report this message

#5: Re: install_driver(Oracle) failed: Can"t load"C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll" for modul

Posted on 2005-10-14 20:47:54 by Sherm Pendley

"Feyruz" <feyruzyalcin@hotmail.com> writes:

> I really dont understand this.
> I have installed the new DBD-ORACLE version 1.16. and still nothing,
> the same annoying error.
>
> I have uninstalled PERL. I have uninstalled DBI, DBD-ODBDC, DBD-ORACLE.
>
> And then installed them all again. AND NO, IT DOES NOT WORK...
>
> Such a simple connect string to an Oracle database shouldnt give an
> errror like this???
> ***************************
> install_driver(Oracle) failed: Can't load
> 'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle:
> load_file:The specified procedure could not be found at

DBD::Oracle is just a "wrapper" for the Oracle client libraries - have you
installed those?

Try this link:

<http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html>

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

Report this message