RHEL 8 install Oracle 19c suggested that the lack libnsl.so.1

When RedHat Enterprise Linux 8 version silent install Oracle database software, suggested that the lack libnsl.so.1

table of Contents

1. Problem

2. reasons

3. Solution

 

1. Problem

When the silent install database software, suggested that the lack libraries

[oracle@henry dbhome_1]$ ./runInstaller -silent -force -noconfig -responseFile /u01/app/oracle/product/19.0.0/dbhome_1/install/response/db_install.rsp \
> oracle.install.option=INSTALL_DB_SWONLY \
> ORACLE_HOSTNAME=henry \
> UNIX_GROUP_NAME=oinstall \
> INVENTORY_LOCATION=/u01/app/oraInventory \
> SELECTED_LANGUAGES=en,en_GB \
> ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1 \
> ORACLE_BASE=/u01/app/oracle \
> oracle.install.db.InstallEdition=EE \
> oracle.install.db.OSDBA_GROUP=dba \
> oracle.install.db.OSOPER_GROUP=oper \
> oracle.install.db.OSBACKUPDBA_GROUP=dba \
> oracle.install.db.OSDGDBA_GROUP=dba \
> oracle.install.db.OSKMDBA_GROUP=dba \
> oracle.install.db.OSRACDBA_GROUP=dba \
> SECURITY_UPDATES_VIA_MYORACLESUPPORT=false \
> DECLINE_SECURITY_UPDATES=true
/u01/app/oracle/product/19.0.0/dbhome_1/perl/bin/perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory

2. reasons

Lack of library files

[oracle@henry dbhome_1]$ ldd /u01/app/oracle/product/19.0.0/dbhome_1/perl/bin/perl
    linux-vdso.so.1 (0x00007ffd40bc9000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4d0f258000)
    libnsl.so.1 => not found
    libdl.so.2 => /lib64/libdl.so.2 (0x00007f4d0f054000)
    libm.so.6 => /lib64/libm.so.6 (0x00007f4d0ecd2000)
    libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f4d0eaa9000)
    libutil.so.1 => /lib64/libutil.so.1 (0x00007f4d0e8a5000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f4d0e4e1000)
    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f4d0e2c9000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f4d0f478000)

3. Solution

Installation library package

[root@henry ~]# dnf install libnsl

Extended: DNF will replace YUM, please consult the relevant content on their own.

Guess you like

Origin www.cnblogs.com/askscuti/p/10984142.html