Oracle Universally Installer failed during 19c installation with these errors:
$ ./runInstaller
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 415 MB. Actual 5977 MB Passed
Checking swap space: must be greater than 150 MB. Actual 10239 MB Passed
Preparing to launch Oracle Universal Installer from /home/oracle/tmp/OraInstall2022-05-04_09-21-12PM. Please wait ...The java.library.path system variable is missing or invalid. Please set java.library.path with a correct value and retry the operation.
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader
Cause: Missing java library on Red Hat or Oracle Linux 8.
Solution: Install the required libnsl-2.x for your version of Linux 8. In the example below, I installed libnsl-2.28-151.0.1.el8.x86_64.rpm from my Red Hat 8.3 DVD.
Note: Don’t confuse libnsl-2.x with libnsl2.x, which is a different rpm package.
# yum install libnsl.x86_64
Last metadata expiration check: 2:44:07 ago on Wed 11 May 2022 02:18:31 PM EDT.
Dependencies resolved.
=====================================================================================================================================================================================
Package Architecture Version Repository Size
=====================================================================================================================================================================================
Installing:
libnsl x86_64 2.28-127.0.1.el8 OEL83_BaseOS 99 k
Transaction Summary
=====================================================================================================================================================================================
Install 1 Package
Total download size: 99 k
Installed size: 160 k
Is this ok [y/N]: y
Downloading Packages:
libnsl-2.28-127.0.1.el8.x86_64.rpm 39 MB/s | 99 kB 00:00
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 9.7 MB/s | 99 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libnsl-2.28-127.0.1.el8.x86_64 1/1
Running scriptlet: libnsl-2.28-127.0.1.el8.x86_64 1/1
Verifying : libnsl-2.28-127.0.1.el8.x86_64 1/1
Installed:
libnsl-2.28-127.0.1.el8.x86_64
Complete!
Now trying running the OUI again.