EPM 11.2.25 Won't Install on Oracle Linux 9? Here's How to Fix It
One of the new additions to EPM is the ability to install and configure to Oracle Enterprise Linux 9, introduced in the 11.2.25 patchset. But, is it really possible to perform the installation with the base 11.2.15 installer, given that the installer was not certified for OEL9?
The documentation for installing Oracle Middleware 12.2.1.4, the base version for WebLogic and OHS, states that Middleware is able to be installed to OEL9, with some pre-requisite packages installed first. The pre-requisite packages are straightforward enough – install the ones that are missing, and leave alone the ones that are present as you do not want to downgrade to a lower version. Especially do not downgrade the OpenSSL package! The second package on the list is a bit trickier however, as it no longer seems to be available!
This package, compat-libpthread-nonshared-2.28-225.el8.x86_64 , is not found in the Oracle repository. The EPM Install Tool might report that the installation of OHS is complete and successful, however in the background you may find log files stating it is missing the required libraries and did not install.
OHS installation in EPM 11.2.15 results in the install log file returning errors indicating it cannot find the libraries required, and fails to make the file libclntshcore.so , causing OHS to fail when you try to start it later. This file is also listed as a pre-requisite in the 11.2.25 README in the OEL9 section.
Oracle Support recommends a patch (35009277) which doesn’t seem to be relevant as a new installation does not have any of the JAR files listed in the README. Another patch I found referenced, 35775632, is also seemingly irrelevant. So far, the only fix I have found that works is this:
Prior to the initial 11.2.15 installation, try entering this command:
sudo ln -s /usr/lib64/libc_nonshared.a /usr/lib64/libpthread_nonshared.a
This creates an empty libpthread_nonshared.a that allows dynamic links to succeed. Now install 11.2.15!