Source: Oracle12cR1RelinkError: ld. so.1: skgxpinfo: fatal: libons. so: openfailed: Nosuchfileordirectory (document ID1957810.1) applicable to: OracleDatabase
Source: Oracle 12cR1 Relink Error: ld. so.1: skgxpinfo: fatal: libons. so: open failed: No such file or directory (Document ID 1957810.1) applies to: Oracle Database-Enterprise Edition-Version 12.1.0.1 and later Generic UNIX symptoms: Use the following command
Source:
Oracle 12cR1 Relink Error: "ld. so.1: skgxpinfo: fatal: libons. so: open failed: No such file or directory" (Document ID 1957810.1)
Applicable:
Oracle Database-Enterprise Edition-Version 12.1.0.1 and later
Generic UNIX
Symptoms:
An error is thrown when you use the following command relink:
$ORACLE_HOME/oui/bin/runInstaller -relink -waitForCompletion -maketargetsxml $ORACLE_HOME/inventory/make/makeorder.xml -logDir $ORACLE_HOME/install ORACLE_HOME=$ORACLE_HOME > $ORACLE_HOME/install/relink.log 2>&1
The error is thrown in the log.
INFO: ld.so.1: skgxpinfo: fatal: libons.so: open failed: No such file or directory
Cause:
The "LD_LIBRARY_PATH" variable is not set in the current UNIX shell.
Solution:
1. Set the environment variable LD_LIBRARY_PATH with the correct value
For example, export LD_LIBRARY_PATH = $ ORACLE_HOME/lib
2. Run relink again.