NetWorker:加载共享库时出错:libncurses.so.5

Summary: 在 Linux RHEL 8.0 及更高版本上,安装后在 NetWorker 服务器上启动一些 NetWorker 服务时,可能会看到以下错误。

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 守护程序无法启动,并在 daemon.raw 中显示以下错误:
从 NW 服务器daemon.raw日志

Cause

在 Red Hat 8 及更高版本上,libncurses.so.5 二进制文件默认不可用。 


以下是根据平台提供的依赖库版本。
RHEL 7 将 libncurses.so.5 作为默认库。
RHEL 8 将libncurses.so.6.1 作为默认库(但是, libncurses.so.5 也可从 Red Hat 存储库下载。)
RHEL 9 的默认值为 libncurses.so.6.2

Resolution

在 RHEL 8.x 及更高版本上,搜索现有二进制 libncurses.so.6.xlibtinfo.so.6.x 作为 ncurses-libs-6.x RPM 软件包的一部分,并创建软链接,如下所示。

对于 RHEL 8.x,请使用此选项:

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"

对于 RHEL 9.x,请使用此选项:

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

此解决方法是解决 NetWorker Server 19.9 与 Red Hat 8.x 和 9.x 版本操作系统的兼容性问题:

NW 服务器兼容性的片段NW 服务器兼容性的片段

 
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.