帮同学解决问题,他那里安装后报错,无法加载文件 libnjni11.so ,具体错误如下,求各位指点
oracle@spos ~]$ netca
UnsatisfiedLinkError exception loading native library: njni11
java.lang.UnsatisfiedLinkError: /u01/app/oracle/product/11.1.0/db_1/lib/libnjni11.so: libclntsh.so.11.1: cannot open shared object file: No such file or directory
java.lang.UnsatisfiedLinkError: jniGetOracleHome
at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
at oracle.net.ca.NetCALogger.getOracleHome(NetCALogger.java:230)
at oracle.net.ca.NetCALogger.initOracleParameters(NetCALogger.java:215)
at oracle.net.ca.NetCALogger.initLogger(NetCALogger.java:130)
at oracle.net.ca.NetCA.main(NetCA.java:404)
1
dbg 2015-11-12 15:52:02 +08:00
libclntsh.so.11.1 这个没找到。到$ORACLE_HOME/lib 下看看有没有这个文件、权限对不对。运行 netca 前,先确认 oracle 程序有没有安装好。该安装的软件包都装了吗?环境变量对不对?
|