Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Oracle 11r2 does not have a lib32 directory

    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Description:
    When running 'Check Upgrade Environment' I got the following error:

    install_driver(Oracle) failed: Can't load '/exlibris/product/perl-5.8.9/lib/site_perl/5.8.9/sun4-solaris/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: perl: fatal: /exlibris/app/oracle/product/11r2/lib/libclntsh.so.10.1: wrong ELF class: ELFCLASS64 at /exlibris/product/perl-5.8.9/lib/5.8.9/sun4-solaris/DynaLoader.pm line 226.
    at (eval 3) line 3
    Compilation failed in require at (eval 3) line 3.
    Perhaps a required shared library or dll isn't installed where expected
    at ./source/proc/listner.pl line 13

    The solution in the past from the KB's states to link to the lib32/libclntsh.so.10.1. In Oracle 11 lib32 existed and we were able to link there. In the version of Oracle 11r2 that was installed using the AIK, there is no lib32 to link to.

    It would seem that we need perl DBD/DBI modules that are compiled to the 64 bit Oracle libraries and not the 32 bit variety. Is that available from Ex Libris?

    [Later:]

    We got by this by downloading the latest perl DBI and DBD modules. I then compiled and installed them into the /exlibris/product/perl-5.8.9/lib/site_perl/5.8.9/sun4-solaris/ directory.

    Resolution:
    From Ex Libris Installation Team: The solution you suggest is not correct. The correct solution would be to upgrade the 3rd party product using the util sp. But first, you should delete the perl.-5.8.9 that you compiled. (It is not supported and might cause issues in the future.)

    More from Ex Libris: The following was done:

    aleph@mcaleph(a21_1):/exlibris/ftp_from_exlibris>cd $ORA_INST_CLIENT/
    aleph@mcaleph(a21_1):...product/instantclient_11_2>ln -s libclntsh.so libclntsh.so.10.1

    that is, created the following link:

    /exlibris/app/oracle/product/11r2/lib/libclntsh.so -> /exlibris/product/instantclient_11_2/libclntsh.so

    The upgrade express toolkit now works when I run "Check environment".

    I stopped and restarted Oracle and Aleph. So far everything seems to be working.


    • Article last edited: 10/8/2013
    • Was this article helpful?