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 daemons fail to start with the below error in daemon.raw:
daemon.raw logs from the NW server

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"

 

 

 

Additional Information

This workaround is to resolve this NetWorker Server 19.9 compatibility for Red Hat 8.x and 9.x versions operating systems:

Snips from NW Server compatibilitySnips from NW Server compatibility

 
Article Properties
Article Number: 000220485
Article Type: Solution
Last Modified: 23 Feb 2024
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.