来源于:
Oracle 12cR1 Relink Error: "ld.so.1: skgxpinfo: fatal: libons.so: open failed: No such file or directory" (文档 ID 1957810.1)
适用于:
Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Generic UNIX
症状:
使用如下命令 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
抛出的错误在log日志中
INFO: ld.so.1: skgxpinfo: fatal: libons.so: open failed: No such file or directory
原因:
在当前的UNIX shell中没有设置"LD_LIBRARY_PATH" 变量
解决方案:
1. 使用正确的值设置环境变量LD_LIBRARY_PATH
比如:export LD_LIBRARY_PATH=$ORACLE_HOME/lib
2. 重新运行relink
Oracle 12cR1 Relink时报错:ld.so.1: skgxpinfo: fatal: libons.so: open failed: No such file or directory
原文地址:http://blog.csdn.net/msdnchina/article/details/43898507