dbca:Exception in thread "main" java.lang.UnsatisfiedLinkError: get
UnsatisfiedLinkError exception loading native library: njni10
Exception in thread "main" java.lang.UnsatisfiedLinkError: get
at oracle.net.common.NetGetEnv.get(Native Method)
at oracle.net.config.Config.getNetDir(Unknown Source)
at oracle.net.config.Config.initConfig(Unknown Source)
at oracle.net.config.Config.<init>(Unknown Source)
at oracle.sysman.assistants.util.NetworkUtils.<init>(NetworkUtils.java:222)
at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.java:255)
at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:682)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:205)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:160)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:94)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)
网上找了整整一晚上,总结起来有三种方法:
glibc-32bit-8.1-9
glibc-devel-32bit-8.1-9
$ORACLE_HOME/bin/relink all
The complete error while loading the ./netca after making the installation is the following:
UnsatisfiedLinkError exception loading native
library: njni10
Exception in thread "main" java.lang.UnsatisfiedLinkError:
jniGetOracleHome
at oracle.net.common.NetGetEnv.jniGetOracleHome(Native
Method)
at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
at
oracle.net.common.NetProperties.(Unknown Source)
at
oracle.net.common.NetProperties.getInstance(Unknown Source)
at
oracle.net.ca.CmdlineArgs.(Unknown Source)
at
oracle.net.ca.InitialSetup.(Unknown Source)
at
oracle.net.ca.NetCA.main(Unknown Source)
Ok , just follow the simple two steps ,
cd into $ORACLE_HOME/bin
then type: ln -s
$ORACLE_HOME/lib/libnjni10.dylib $ORACLE_HOME/lib/libnjni10 , then
ENTER
then type: ln -s $ORACLE_HOME/lib/libclntsh.dylib $ORACLE_HOME/lib/libclntsh.dylib.10.1
After that go into $ORACLE_HOME/bin and start ./netca
Problem solved, this simple solution came to me literally after hours of dealing with the situacion and very little help from ORACLE documentation on the issue.
total 8
drwxrwx--- 6 oracle oinstall 4096 Mar 10 19:57 oraInventory
drwxrwx--- 3 oracle oinstall 4096 Mar 10 19:48 product
[root@oracle10 oracle]# rm -rf *
UnsatisfiedLinkError exception loading native library: njni10
Exception in thread "main" java.lang.UnsatisfiedLinkError: get
at oracle.net.common.NetGetEnv.get(Native Method)
at oracle.net.config.Config.getNetDir(Unknown Source)
at oracle.net.config.Config.initConfig(Unknown Source)
at oracle.net.config.Config.<init>(Unknown Source)
dbca:Exception in thread "main" java.lang.UnsatisfiedLinkError: get,古老的榕树,5-wow.com
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。