ld-linux-x86-64.so.2+,RedHat6安装Oracle数据库遇到错误 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之前,先设定如下的环境变量。

$ export LD_BIND_NOW=1

这个环境变量的作用是,让连接器在程序执行前把所有的函数地址都连接好。

这个原因看起来好像和安装Oracle没什么关系,但是,确实能解决问题。

解决方法如下:在运行runInstaller之前,先设定如下的环境变量。

相关阅读:Oracle 11g在Linux6下安装及报错 C [ld-linux-x86-64.so.2+0x14d70]的解决方法 http://www.linuxidc.com/Linux/2012-11/73778.htm

0b1331709591d260c1c78e86d0c51c18.png