Installing Oracle 19 failed with an error while loading shared libraries libnsl.so.1 in RSA Governance & Lifecycle
2 years ago
Article Number
000068108
Applies To
Installing Oracle 19 failed with an error while loading shared libraries libnsl.so.1 on Red Hat 8
Issue
Installing Oracle 19 on Red Hat 8 failed
with an error while loading shared libraries libnsl.so.1: cannot open shared object file as no such file or directory.
 
Installing Oracle.19.0.0.0.0
replace /u01/app/19.0.0/grid/instantclient/libsglplusic.s0? [y]es, [n]o, [A]ll, [N]one, [r]ename:y
replace /u01/app/19.0.0/grid/opmn/cont/ons. config? [y]es, [n]o, [A]ll, [N]one, [r]ename:y
replace /u01/app/19.0.0/grid/opmn/adnin/libons. def? [y]es, [n]o, [A]ll, [N]one, [r]ename:A
replace /u01/app/oracle/product/19.0.0/db_1/drdaas/admin/drdasqtt_translator_setup.sql? [y]es, [n]o, [A]ll, [N]one, [r]ename:A
u01/app/19.0.0/grid/perl/bin/perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
Fresh install failed.. deleting /tmp/aveksa/install, /home/oracle/Aveksa_System.cfg and /export/home/oracle/setDeployEnv.sh as part of cleanup.
step failed! See /tmp/aveksa-install.log for more information. 


 
Cause
libnsl.so.1 is not installed in Red Hat Linux release 8.0 by default
Resolution
To solve that issue, you need to install libnsl manually using the below command
sudo dnf install libnsl*


confirm that library libnsl.so.1 is installed correctly in /usr/lib64/ using the below command:
 
find / -iname libnsl.so.1