lb231012 has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I am having some issue with DBD:ORACLE using Oracle 11g version however the same perl works fine with Oracle 10g version. both Oracle are installed at AIX box with 64 bit. Do i need to either install/compile another version of DBD:ORACLE for 11g ? Error What i am getting is

install_driver(Oracle) failed: Can't load '/usr/opt/perl5/lib/site_per +l/5.8.8/aix-thread-multi/auto/DBD/Oracl e/Oracle.so' for module DBD::Oracle: 0509-022 Cannot load module /u +sr/opt/perl5/lib/site_perl/5.8.8/aix-th read-multi/auto/DBD/Oracle/Oracle.so. 0509-150 Dependent module /opt/oracle/product/11.2.0/lib/lib +clntsh.so could not be loaded. 0509-103 The module has an invalid magic number. 0509-022 Cannot load module /usr/opt/perl5/lib/site_perl/5.8.8 +/aix-thread-multi/auto/DBD/Oracle/Oracl e.so. 0509-150 Dependent module /usr/opt/perl5/lib/site_perl/5.8.8 +/aix-thread-multi/auto/DBD/Oracle/Oracl e.so could not be loaded. at /usr/opt/perl5/lib/5.8.8/aix-thread-multi +/DynaLoader.pm line 230. at (eval 4) line 3 Compilation failed in require at (eval 4) line 3. Perhaps a required shared library or dll isn't installed where expecte +d

Replies are listed 'Best First'.
Re: DBD:ORACLE with Oracle 11g
by Anonymous Monk on Sep 13, 2014 at 07:23 UTC

    Do i need to either install/compile another version of DBD:ORACLE for 11g ?

    Yes, .so are all about compile-time-option compatibility, it makes magic number ... compile same "build" of perl and same build of oracle (compatible builds) ... some cars don't run on diesel:)