Subject: | ld: skipping incompatible /usr/lib/oracle/11.1/client/lib/libclntsh.so |
OS: Redhat Enterprise Linux
uname -a: Linux nodens2 2.6.9-67.0.15.ELsmp #1 SMP x86_64 x86_64 x86_64
GNU/Linux
dbd::oracle will not build...
===================
with Oracle Instant Client 11.1.0.1 linux_x86_64 rpm, fails in make test
with:
# Failed test 'install_driver'
# in t/01base.t at line 22.
Failed to load Oracle extension and/or shared libraries:
install_driver(Oracle) failed: Can't load
'/home/ad1mt/packages/DBD-Oracle-1.22/blib/arch/aut
o/DBD/Oracle/Oracle.so' for module DBD::Oracle: libaio.so.1: cannot open
shared object file:
No such file or directory at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm l
ine 230.
at (eval 7) line 3
Compilation failed in require at (eval 7) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/01base.t line 19
====================
with Oracle Instant Client 11.1.0.7.0 linux32 rpm, fails in make with:
/usr/bin/ld: skipping incompatible
/usr/lib/oracle/11.1/client/lib/libclntsh.so when searching for -lclntsh
/usr/bin/ld: cannot find -lclntsh
collect2: ld returned 1 exit status
=====================
regards,
mark.