注册 登录  
 加关注
查看详情
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

曾国藩的博客

 
 
 

日志

 
 

安装ORACLE遇到libXp.so.6: cannot open shared object file  

2013-06-14 09:57:13|  分类: SQL/Oracle/Mysql |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
http://blog.chinaunix.net/uid-22948773-id-3324667.html
搭建一个ORACLE测试环境,运行runInstaller遇到libXp.so.6: cannot open shared object file错误。
 

点击(此处)折叠或打开

  1. [oracle@dbserver database]$ ./runInstaller
  2. Starting Oracle Universal Installer...

  3. Checking installer requirements...

  4. Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
  5.                                       Passed


  6. All installer requirements met.

  7. Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-08-24_09-24-19AM. Please wait ...[oracle@dbserver database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2012-08-24_09-24-19AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
  8.         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
  9.         at java.lang.ClassLoader.loadLibrary0(Unknown Source)
  10.         at java.lang.ClassLoader.loadLibrary(Unknown Source)
  11.         at java.lang.Runtime.loadLibrary0(Unknown Source)
  12.         at java.lang.System.loadLibrary(Unknown Source)
  13.         at sun.security.action.LoadLibraryAction.run(Unknown Source)
  14.         at java.security.AccessController.doPrivileged(Native Method)
  15.         at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
  16.         at sun.awt.DebugHelper.<clinit>(Unknown Source)
  17.         at java.awt.Component.<clinit>(Unknown Source)

查询了一下发现是由于少了libXp包导致的。
 
 

点击(此处)折叠或打开

  1. [root@dbserver CentOS]# uname -a
  2. Linux dbserver 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

  3. [root@dbserver CentOS]# rpm -ivh libXp-1.0.0-8.1.el5.x86_64.rpm
  4. warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
  5. Preparing... ########################################### [100%]
  6.    1:libXp ########################################### [100%]
重新运行runInstaller还是报错。
 

点击(此处)折叠或打开

  1. [oracle@dbserver database]$ ./runInstaller
  2. Starting Oracle Universal Installer...

  3. Checking installer requirements...

  4. Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
  5.                                       Passed


  6. All installer requirements met.

  7. Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-08-24_09-27-15AM. Please wait ...[oracle@dbserver database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2012-08-24_09-27-15AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: wrong ELF class: ELFCLASS64
  8.         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
  9.         at java.lang.ClassLoader.loadLibrary0(Unknown Source)
  10.         at java.lang.ClassLoader.loadLibrary(Unknown Source)
  11.         at java.lang.Runtime.loadLibrary0(Unknown Source)
  12.         at java.lang.System.loadLibrary(Unknown Source)
  13.         at sun.security.action.LoadLibraryAction.run(Unknown Source)
  14.         at java.security.AccessController.doPrivileged(Native Method)
  15.         at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
  16.         at sun.awt.DebugHelper.<clinit>(Unknown Source)
  17.         at java.awt.Component.<clinit>(Unknown Source)

然后我又装了一个32位的libXp包。
 

点击(此处)折叠或打开

  1. [root@dbserver CentOS]# rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
  2. warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
  3. Preparing... ########################################### [100%]
  4.    1:libXp ########################################### [100%]

再次运行runInstaller,问题解决。
 

点击(此处)折叠或打开

  1. [oracle@dbserver database]$ ./runInstaller
  2. Starting Oracle Universal Installer...

  3. Checking installer requirements...

  4. Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
  5.                                       Passed


  6. All installer requirements met.

  7. Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-08-24_09-27-52AM. Please wait ...[oracle@dbserver database]$
  评论这张
 
阅读(856)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018