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?
Release : 6.10+
Component : Dollar Universe
OS: Redhat 8.x
Missing library libnsl.so.1 in the Operating System Redhat 8.x, necessary for uniwhoami system binary.
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
On a working Centos 8.4 this library exists as it comes with the baseos repository:
[[email protected]~]# ldd /bin/whoami
libc.so.6 => /lib64/libc.so.6 (0x00007f75350ba000)
[[email protected]~]# yum provides libnsl.so.1
libnsl-2.28-151.el8.i686 : Legacy support library for NIS
Repo : baseos
Provide : libnsl.so.1