Tuesday, April 14, 2020

Oracle 19c installation on Linux 8 : error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory


Error while starting ./runInstaller for oracle 19c installation on Linux 8




[oracle@ip-192-168-43-225 oracle]$ ./runInstaller
/u01/oracle/perl/bin/perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
[oracle@ip-192-168-43-225 oracle]$

Solutions: error while loading shared libraries: libnsl.so.1: cannot open shared object


In addition, we need to install below RPM after that start the Oracle 19c installation.


dnf install -y libnsl
dnf install -y libnsl.i686
dnf install -y libnsl2
dnf install -y libnsl2.i686




further, follow below link to complete the oracle database installation 

https://anuragkumarjoy.blogspot.com/2020/04/oracle-database-19c-step-by-step.html


[oracle@ip-192-168-43-225 ~]$ sqlplus "/as sysdba"

SQL*Plus: Release 19.0.0.0.0 - Production on Mon Apr 13 18:56:09 2020
Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle.  All rights reserved.


Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> select name ,open_mode from v$database;

NAME      OPEN_MODE
--------- --------------------

INDIA     READ WRITE


[oracle@ip-192-168-43-225 ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux release 8.0 (Ootpa)
[oracle@ip-192-168-43-225 ~]$

13 comments:

  1. Thanks a lot! I had no idea how to solve this problem, you made it easy.

    ReplyDelete
  2. Thanks a lot. Was able to resolve with the solution.

    ReplyDelete
  3. Great mission accomplished master Kumar, I am following your footsteps. Thank you.

    ReplyDelete
    Replies
    1. Thanks peter , let me know if any issue with oracle database

      Delete
  4. This works for earlier versions of Oracle database also (11g R2 EBS 11.2.0.4 instance) on Oracle Linux 8! Thank you.

    ReplyDelete
  5. Thanks this worked

    ReplyDelete
    Replies
    1. Thanks for comment . let me know if you face any issue with oracle database

      Delete
  6. No X11 DISPLAY variable was set, but this program performed an operation which requires it.

    Please help on the above error message

    ReplyDelete
    Replies
    1. https://anuragkumarjoy.blogspot.com/2024/03/error-unable-to-verify-graphical.html

      Delete