zoukankan      html  css  js  c++  java
  • 安装数据库遇到错误 C [ldlinuxx8664.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没什么关系,但是,确实能解决问题。


    参考:

    http://gruffdba.wordpress.com/2013/01/09/java-hotspot-error-ld-linux-x86-64-so-20x14d70-on-oracle-install-redhat-6-0-on-vmware/


  • 相关阅读:
    BZOJ5212 ZJOI2018历史(LCT)
    BZOJ5127 数据校验
    253. Meeting Rooms II
    311. Sparse Matrix Multiplication
    254. Factor Combinations
    250. Count Univalue Subtrees
    259. 3Sum Smaller
    156. Binary Tree Upside Down
    360. Sort Transformed Array
    348. Design Tic-Tac-Toe
  • 原文地址:https://www.cnblogs.com/dyllove98/p/3125092.html
Copyright © 2011-2022 走看看