oralce版本:9.2.0.4
OS: suse linux server 9 企业版
JRE装的是:j2re-1_3_1_19-linux-i586.binlinux:~ # rpm -q gcc glibc-devel libstdc++ libstdc++-devel cpp glibc
gcc-3.3.3-43.24
glibc-devel-2.3.3-98.28
libstdc++-3.3.3-43.24
libstdc++-devel-3.3.3-43.24
cpp-3.3.3-43.24
glibc-2.3.3-98.28Oracle安装目录下的JRE已经由1.1.8修改为1.3.1运行dbca出现下面的错误:
error occurred during initialization of VM
Unable to load native library: /opt/oracle/jre/1.3.1/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

解决方案 »

  1.   

    找不到
    GLIBC_2.0
    看看自己的环境变量ld_library_path对不。再检查一下库glibc安装对不。
      

  2.   

    下载安装 oracle 补丁 p3006854_9204 。
      

  3.   

    ld_library_path设置的是对的。p3006854_9204补丁解决的是安装问题。我所描述的问题:安装是没有问题的,只是在通过dbca创建数据库时报的错误。
      

  4.   

    This is a problem with OUI/runInstaller's Java runtime.
    It seems software vendors have had over 3 years to fix but still there are apps around with this bug. Like Oracle's Installer here.Short explanation:
    "__libc_wait is an internal symbol to glibc. It's not meant for other applications to use. So app is broken, not glibc."Workaround for broken java vm:
    - install and extract a fixed J2SE runtime
    - alter Disk1/install/linux/oraparam.ini
    JRE_LOCATION=/u00/app/oracle/jre1.3.1_11Also it is worth mentioning that similar error with "symbol errno" can be avoided by using:
    $ LD_ASSUME_KERNEL=2.4.1 Disk1/runInstaller
    (this enables linkning of older libc/threadlib) 
      

  5.   

    老兄,请仔细看我的问题。安装的已经注意使用j2re-1_3_1_19了,也修改了Disk1/install/linux/oraparam.ini。所以我说安装是没有问题的,可以顺利安装。我说的是安装之后,运行dbca创建数据库时出现的问题。不管怎么说,还是感谢你。
      

  6.   

    你是怎么安装oracle的,有没有参考http://www.novell.com/oracle上的“Oracle 9i R2 (9.2.0.6) on SUSE LINUX Enterprise Server 9”那篇文档。我按照那篇文档安装没有遇到你说的那种情况,建议你按照那篇文档上的步骤重新安装oracle试试。