当前位置:操作系统 > Unix/Linux >>

安装数据库遇到错误C [ld-linux-x86-64.so.2+0x14d70]

安装数据库遇到错误C [ld-linux-x86-64.so.2+0x14d70]
 
在RedHat6 上面,安装Oracle 11g R2时,运行runInstaller后,立即跳出如下错误内容。
 
 
 
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x00007fd0b80d0d70, pid=2951, tid=140533187077904
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_30-b03 mixed mode)
# Problematic frame:
# C  [ld-linux-x86-64.so.2+0x14d70]
#
# An error report file with more information is saved as hs_err_pid2951.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
 
 
解决方法如下:在运行runInstaller之前,先设定如下的环境变量。
 
 
[plain] 
$ export LD_BIND_NOW=1  
 
这个环境变量的作用是,让连接器在程序执行前把所有的函数地址都连接好。
这个原因看起来好像和安装Oracle没什么关系,但是,确实能解决问题。
 
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,