ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

RedHat 8 install error in uniwhoami while loading libnsl.so.1

book

Article ID: 226815

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

We're trying out a new OS: RedHat 8.4.

When we try to install DUAS it, we have this error:

[email protected]# ./uniinstaller

 /tmp/silencieuse_du_as_6.10.61_redhat64/./tools/uniwhoami: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
Cannot get current user with "uniwhoami" command : stop here!

 

The Compatibility Matrix says that RedHat 8 is compatible with DUAS 6.10.*, so what is the problem?

Cause

Missing library libnsl.so.1 in the Operating System Redhat 8.x, necessary for uniwhoami system binary.

Environment

Release : 6.10+

Component : Dollar Universe

OS: Redhat 8.xe

Resolution

The error indicates that the uniwhoami binary depends on the library libnsl.so.1 which seems not installed in the Redhat 8.x System

In order to fix this, simply install the libnsl library with the following command:

yum install libnsl

 

 

Additional Information

On a working Centos 8.4 this library exists as it comes wtih the baseos repository:

[[email protected]~]# ldd /bin/whoami
        linux-vdso.so.1 (0x00007ffefc4c6000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f75350ba000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f7535687000)


[[email protected]~]# yum provides libnsl.so.1
libnsl-2.28-151.el8.i686 : Legacy support library for NIS
Repo        : baseos
Matched from:
Provide    : libnsl.so.1