Installing linux.x64_193000_client gets java.library.path system variable is missing or invalid


While installing on Linux, getting the following error:

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2022-06-15_07-48-19AM. Please wait ...[oracle@mariclient client]$ Picked up _JAVA_OPTIONS:
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
	at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.isCleanMachine(
	at oracle.sysman.oii.oiii.OiiiInstallAreaControl.isCleanMachine(


Install the following rpm and retry:

# yum install libnsl.x86_64