zoukankan      html  css  js  c++  java
  • ubuntu 11.10 x64 安装oracle 11gR2时碰到的问题及解决方法

    INFO: /home/musictom/oracle/product/11.2.0/dbhome_2/bin/genclntsh

    INFO: /
    INFO: usr
    INFO: /
    INFO: bin
    INFO: /
    INFO: ld
    INFO: :
    INFO:  
    INFO: cannot
    INFO:  
    INFO: find /usr/lib64/libpthread_nonshared.a
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.11.1

    INFO: make: *** [client_sharedlib] Error 1
    解决办法:
    sudo mkdir /usr/lib64
    ln --s /lib/x86_64-linux-gnu/libpthread_nonshared.a /usr/lib64/libpthread_nonshared.a

    ==================================================================

    NFO: /
    INFO: usr
    INFO: /
    INFO: bin
    INFO: /ld: cannot find /usr/lib64/libc_nonshared.a
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.11.1

    解决办法:
    sudo mkdir /usr/lib64
    ln --s /lib/x86_64-linux-gnu/libc_nonshared.a /usr/lib64/libc_nonshared.a

    ==================================================================

    INFO: gcc -o /home/musictom/oracle/product/11.2.0/dbhome_2/rdbms/lib/dg4odbc -m64 -L/home/musictom/oracle/product/11.2.0/dbhome_2/rdbms/lib/ -L/home/musictom/oracle/product/11.2.0/dbhome_2/lib/ -L/home/musictom/oracle/product/11.2.0/dbhome_2/lib/stubs/   /home/musictom/oracle/product/11.2.0/dbhome_2/hs/lib/dg4odbc.o          /home/musictom/oracle/product/11.2.0/dbhome_2/rdbms/lib/homts.o          -lhgosh11 -lhggcon11 -lhgosh11  -lagtsh -lpthread -lclntsh   `cat /home/musictom/oracle/product/11.2.0/dbhome_2/lib/sysliblist` -W
    INFO: l,-rpath,/home/musictom/oracle/product/11.2.0/dbhome_2/lib -lm    `cat /home/musictom/oracle/product/11.2.0/dbhome_2/lib/sysliblist` -ldl -lm   -L/home/musictom/oracle/product/11.2.0/dbhome_2/lib

    INFO: /usr/bin/ld: warning: libaio.so.1, needed by /home/musictom/oracle/product/11.2.0/dbhome_2/lib//libclntsh.so, not found (try using -rpath or -rpath-link)
    /home/musictom/oracle/product/11.2.0/dbhome_2/lib//libagtsh.so: undefined reference to `nnfyboot'
    collect2: ld returned 1 exit status



    解决办法:

    #"hsodbc agent" (nnfyboot) link bug solution
    export ORACLE_HOME=/home/musictom/oracle/product/11.2.0/dbhome_2
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    ln --s /usr/bin/basename /bin/basename
    ln --s $ORACLE_HOME/lib/libclient11.a $ORACLE_HOME/lib/libagtsh.a
    $ORACLE_HOME/bin/genagtsh $ORACLE_HOME/lib/libagtsh.so 1.0
     

  • 相关阅读:
    DBUtils温习2
    DBUtils温习1
    C3P0连接池温习1
    JDBC复习2
    JDBC复习1
    Spring的AOP基于AspectJ的注解方式开发3
    Spring的AOP基于AspectJ的注解方式开发2
    Spring的AOP基于AspectJ的注解方式开发1
    高血压认知3
    pandas cookbook
  • 原文地址:https://www.cnblogs.com/yuanxiaoping_21cn_com/p/2467889.html
Copyright © 2011-2022 走看看