NetWorker: Error while loading shared libraries: libncurses.so.5

Summary: On Linux RHEL 8.0 and above, the following errors may be seen while launching a few NetWorker services on the NetWorker Server post installation.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

NetWorker is installed on a RedHat or Oracle 8.0.x server (or above).
NetWorker daemons fail to start with the below error in /nsr/logs/daemon.raw:
 

NetWorker: How to use nsr_render_log to render .raw log files

 

Cause

On Red Hat 8 and above, the libncurses.so.5 binary is not available by default.

Following are the dependent library versions available according to platforms.
RHEL 7 has libncurses.so.5 as default library.
RHEL 8 has libncurses.so.6.1 as the default library (However, libncurses.so.5 is also available for download from the Red Hat Repository.)
RHEL 9 has libncurses.so.6.2 as the default.

Resolution

On RHEL 8.x and above, search for the existing binary libncurses.so.6.x and libtinfo.so.6.x as part of ncurses-libs-6.x RPM package and create a soft link as shown below.

For RHEL 8.x use this option:

ln -s "/usr/lib64/libncurses.so.6.1" "/usr/lib64/libncurses.so.5"
ln -s "/usr/lib64/libtinfo.so.6.1" "/usr/lib64/libtinfo.so.5"

For RHEL 9.x use this option:

ln -s "/usr/lib64/libncurses.so.6.2 "/usr/lib64/libncurses.so.5"
ln -s "/usr/lib64/libtinfo.so.6.2" "/usr/lib64/libtinfo.so.5"

Affected Products

NetWorker

Products

NetWorker Family
Article Properties
Article Number: 000220485
Article Type: Solution
Last Modified: 08 ذو الحجة 1447
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.