After installing the Smarts SAM Console on Linux RHEL 9.3 unable to run dmctl command. dmctl: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
search cancel

After installing the Smarts SAM Console on Linux RHEL 9.3 unable to run dmctl command. dmctl: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

book

Article ID: 370979

calendar_today

Updated On:

Products

VMware Telco Cloud Service Assurance VMware Smart Assurance

Issue/Introduction

dmctl: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory  

Environment

SAM Console Versions 10.1.x to 10.1.12 

 

Cause

In RHEL 9.X, version 5 of the ncurses library is not available by default. Instead, version 6 is provided, which is incompatible with Smarts.

Resolution

To address this issue, it's necessary to manually download the ncurses libraries and install the RPM packages with root permissions on the Linux server.

wget "https://rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/ncurses-base-5.9-14.20130511.el7_4.noarch.rpm"
wget "https://rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/ncurses-libs-5.9-14.20130511.el7_4.x86_64.rpm"
wget "http://rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/ncurses-libs-5.9-14.20130511.el7_4.i686.rpm"

rpm --force -ivf ncurses-base-5.9-14.20130511.el7_4.noarch.rpm

Please note: The ncurses-base needs to be installed before ncurses-libs.

rpm --force -ivf ncurses-libs-5.9-14.20130511.el7_4.x86_64.rpm
rpm --force -ivf ncurses-libs-5.9-14.20130511.el7_4.i686.rpm

This issue will be addressed in a future release of the Smarts SAM Console.