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 安装在 RedHat 或 Oracle 8.0.x 服务器(或更高版本)上。
NetWorker 守护程序无法启动,并在 /nsr/logs/daemon.raw管理此进程:
 

NetWorker:如何使用nsr_render_log呈现.raw日志文件

 

Cause

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

以下是根据平台提供的依赖库版本。
RHEL 7 有 libncurses.so.5 作为默认库。
RHEL 8 有 libncurses.so.6.1 作为默认库(但是, libncurses.so.5 也可以从 Red Hat Repository 下载。
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 服务器兼容性的片段

 

Affected Products

NetWorker

Products

NetWorker Family
Article Properties
Article Number: 000220485
Article Type: Solution
Last Modified: 25 May 2026
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.