Hi All,
We are trying to make a db connection and query the db using Oracle driver (DBI). It reports the below error.
[error]
install_driver(Oracle) failed: Can't load '/iwhome/iw-home/iw-perl/site/lib/auto/DBD/Oracle/Oracle.so' for module DBD:

racle: libclntsh.so.10.1: cannot open shared object file: No such file or directory at /iwhome/iw-home/iw-perl/lib/DynaLoader.pm line 229.
[/error]
We tried to install the Oracle driver and got the below error.
[html]
[nywebtsite03d-/var/tmp]# /iwhome/ControlHub/iw-perl/bin/iwperl -MDBI -e 'print"$DBI::VERSION\n"';
Can't load '/iwhome/ControlHub/iw-perl/site/lib/auto/DBI/DBI.so' for module DBI: /iwhome/ControlHub/iw-perl/site/lib/auto/DBI/DBI.so: wrong ELF class: ELFCLASS64 at /iwhome/ControlHub/iw-perl/lib/DynaLoader.pm line 229.
at /iwhome/ControlHub/iw-perl/site/lib/DBI.pm line 263
BEGIN failed--compilation aborted at /iwhome/ControlHub/iw-perl/site/lib/DBI.pm line 263.
Compilation failed in require.
BEGIN failed--compilation aborted.
The same happened when I tried to compile DBD:

racle. I’ve got the following error:
[nywebtsite03d-/var/tmp/DBD-Oracle-1.23]# /iwhome/ControlHub/iw-perl/bin/iwperl Makefile.PL
Can't load '/iwhome/ControlHub/iw-perl/site/lib/auto/DBI/DBI.so' for module DBI: /iwhome/ControlHub/iw-perl/site/lib/auto/DBI/DBI.so: wrong ELF class: ELFCLASS64 at /iwhome/ControlHub/iw-perl/lib/DynaLoader.pm line 229.
at /iwhome/ControlHub/iw-perl/site/lib/DBI.pm line 263
BEGIN failed--compilation aborted at /iwhome/ControlHub/iw-perl/site/lib/DBI.pm line 263.
Compilation failed in require at Makefile.PL line 21.
BEGIN failed--compilation aborted at Makefile.PL line 21.
[/html]
Is this because we were trying to install the 32 bit Perl version module on the 64 bit processor? Can any one help us on this by providing any pointers?
Thanks!