Maybe this helps for those running into an Error during Installation of OEM 13.5 on REHL9
Using graphical User Interface Installation fails near the end at step “start oms”
In Error Log $ORACL_BASE/gc_inst/user_projects/domains/GCDomain/system_components/OHS/ohs_nm.log
we find:
libclntshcore.so.12.1: cannot open shared object file
SOLUTION:
A prerequisite Package was missing (even all prerequisite-checks passed).
The installation prerequisite checks does not explicitly check for Fusion Middleware 12.2.1.4 operating system requirements.
Requirement Document for Fusion Middleware says that a RedHat 8 Package is required:
compat-libpthread-nonshared-2.28-225.el8.x86_64
see for details: https://docs.oracle.com/en/middleware/fusion-middleware/12.2.1.4/sysrs/system-requirements-and-specifications.html#GUID-37C51062-3732-4A4B-8E0E-003D9DFC8C26
BUT the required package compat-libpthread-nonshared-2.28-225.el8.x86_64 is not supported by RedHat anymore.
It can not be found in the REHL9 Repositories.
Solution is to use a stub.
See MOS Note : Installation fails due to linking error with libpthread_nonshared.a on OL9/RHEL9 (Doc ID 2984237.1)
(Don't be confused that the MOS Note is for Oracle Database 19c. It also works for OEM.)
In short you need to download a placeholder patch
Patch 35775632: PLACEHOLDER FOR STUBS.TAR PATCH FOR OL9 THAT FIXES BUG 33794281
Readme of the patch shows:
- Download stubs.tar from Patch 35775632 and extract
- Copy stubs.tar into $ORACLE_HOME/lib/stubs and extract (cmd: $ tar -xf stubs.tar)
In our case ORACL_HOME is the one where you installed OMS.
After copy and untar, we run
$ORACLE_HOME/bin/genclntsh
Now the link works and oms could be started with
emctl start oms.
Hope this helps