You most likly are not pointing to the correct Oracle path.
You are pointing to most-likely the 64 bit so lisb file rather than the 32
bit so libs that DBD::Oracle requires.
here are some links to similar problems
http://www.issociate.de/board/goto/790359/Can't_load_Oarcle.so.html
http://www.nntp.perl.org/group/perl.dbi.users/2006/11/msg30509.html
----- Original Message -----
From: "Loo, Peter # PHX" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, June 14, 2007 1:53 PM
Subject: Oracle.so
Hi,
The same program that ran successfully yesterday is failing with the
following error today. Can someone please shed some light what this
error means?
ERROR: Connection failed to xxxxx for user xxxxx.
install_driver(Oracle) failed: Can't load
'/usr/local/lib/perl5/site_perl/5.8.7/s
un4-solaris/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1:
GSQL.pl: fatal: /opt/app/oracle/product/10.2/lib/libclntsh.s
o.10.1: wrong ELF class: ELFCLASS64 at
/usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line 230.
at (eval 14) line 3
Compilation failed in require at (eval 14) line 3.
Perhaps a required shared library or dll isn't installed where expected
Thanks.
Peter