Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error in DBI->connect

522049Sep 5 2006 — edited Sep 5 2006
Hi,
I am trying to connect to the database froma perl script with the following command and i got the error below:
DBI->connect( "dbi:Oracle:service_name", "$username", "$password", {AutoCommit => 0 , RaiseError => 1} ) or die "Can't connect to Oracle database: $DBI::errstr\n";

and the error message is
nstall_driver(Oracle) failed: Can't load '/appl/oracle/10.2.0/perl/lib/site_perl/5.8.3/aix-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: Could not load module /appl/oracle/10.2.0/perl/lib/site_perl/5.8.3/aix-thread-multi/auto/DBD/Oracle/Oracle.so.
Dependent module /appl/oracle/10.2.0/lib/libclntsh.a(shr.o) could not be loaded.
The module has an invalid magic number.
Could not load module /appl/oracle/10.2.0/perl/lib/site_perl/5.8.3/aix-thread-multi/auto/DBD/Oracle/Oracle.so.
Dependent module /appl/oracle/10.2.0/perl/lib/site_perl/5.8.3/aix-thread-multi/auto/DBD/Oracle/Oracle.so could not be loaded. at /appl/oracle/10.2.0/perl/lib/5.8.3/aix-thread-multi/DynaLoader.pm line 229.
at (eval 2) line 3
Compilation failed in require at (eval 2) line 3.
Perhaps a required shared library or dll isn't installed where expected

Any idea?
I am on Oracle server on AIX 5.3 64bit
Regards,
Badri.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 3 2006
Added on Sep 5 2006
3 comments
639 views