Smarts installation on RHEL 9.x - OS Patch Levels prerequisite marked false during installation specifically for ncurses-compat-libs and oracle-epel-release-el9.
Example:
Prerequisite of RPM will look like below:Required OS Patch Levelsfalse ncurses-compat-libs 5.9-14.el7_4.i686
dmctl: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory observed while running mysql-client utility.
Starting from RHEL 9.x, the "ncurses-compat-libs" package has been fully deprecated. To continue using it, the library must now be sourced from the EPEL repository.
Reference: Check “Moved Packages” chapter from RHEL9_Considerations
NOTE: This KB to be used only to bypass ncurses-compat-libs rest other libraries are necessary for proper installation and domain functionality.
Library "libtinfo.so.6" & "libncurses.so.6" serves the purpose and DM works without any issue, hence create softlink for mentioned libraries or remove reference for libedit.so.0 library.
Steps to implement:
bypass.shrm -rf /tmp/tmp_* /tmp_final_*
while true; do rm -f final_<suite>_sysinfo.txt; sleep 0.1; done
chmod 777 bypass.sh
./bypass.sh in one terminal. NOTE: Script need to be run continuously until installation is completed. Upon completion of installation, script can be killed as Ctrl+C.mv ../lib/libedit.so.0 ../lib/libedit.so.0_bkp
NOTE: 1) tmp_<suite>_sysinfo.txt and final_<suite>_sysinfo.txt need to be changed based on product installation.
Example: IP: tmp_ip_sysinfo.txt SAM: tmp_sam_sysinfo.txt NPM: tmp_npm_sysinfo.txt MPLS: tmp_mpls_sysinfo.txt
VoIP: tmp_voip_sysinfo.txt ESM: tmp_esm_sysinfo.txt
2) If library error is thrown while running dmctl command then create softlink as follows:
ln -s /usr/lib64/libtinfo.so.6 /usr/lib64/libtinfo.so.5
ln -s /usr/lib64/libncurses.so.6 /usr/lib64/libncurses.so.5
This instance throws library error while using mysql-client.sh utility
Steps to implement:
ln -s /usr/lib64/libtinfo.so.6 /usr/lib64/libtinfo.so.5
ln -s /usr/lib64/libncurses.so.6 /usr/lib64/libncurses.so.5
The workaround we shared applies to both TCSA-DM and Smarts-DM, as both support Oracle Linux.
Neither TCSA-DM 2.4 nor Smarts-DM 2.4 differentiate between OEL, RHCK, or standard Oracle Linux — the pre-requisite checks are the same across all Oracle Linux flavors.