Unable to load native library: libnsl.so.1
search cancel

Unable to load native library: libnsl.so.1

book

Article ID: 402100

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

When executed ezt_install to install Easytrieve R11.6 for Linux, the following message was output:

 Unable to load native library: libnsl.so.1: cannot open shared object file: No such file or directory

Environment

Environment : Linux

Release : R11.6

Cause

There is no libnsl.so.1 in an environment.

Resolution

Needs to install the libnsl.so.1.
The installation of the libnsl.so.1 depends on the specific Linux distribution.

Command:

 sudo dnf install libnsl........

 

For example:
On RHEL 8.10 it's in the following package:

 libnsl-2.28-251.el8_10.22.i686

On Rocky Linux 9.6 it's in the following package:

 libnsl-2.34-168.el9_6.19.i686

Additional Information

Differences Between yum and dnf:

+-----------------------+-----------------------------------+-------------------------------------+
|Feature     |yum   |dnf |
+-----------------------+-----------------------------------+-------------------------------------+
|Generation     |Older(used in RHEL 7 and earlier)  |Newer(default in RHEL 8 and later) |
|Performance     |Slower     |Faster and more efficient |
|Dependency Resolution  |Sometimes unstable     |More accurate and reliable |
|Plugin System     |Custom and limited     |Python-based, more extensible |
|Maintenance Status   |Deprecated in newer systems     |Actively maintained and recommended |
+-----------------------+-----------------------------------+-------------------------------------+

Summary:
 * Both commands are used to manage packages in RPM-based Linux distributions.
 * On RHEL 8 and later, yum is just an alias for dnf, so they behave the same.
 * For future compatibility and better performance, dnf is recommended.