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
     

  • 相关阅读:
    Perl的比较操作符
    Perl的变量
    应用负载均衡之LVS(五):lvs和nginx的wrr加权调度算法规律分析
    sharding:谁都能读懂的分库、分表、分区
    MySQL中间件之ProxySQL(15):ProxySQL代理MySQL组复制
    MySQL中间件之ProxySQL(12):禁止多路路由
    MySQL中间件之ProxySQL(14):ProxySQL+PXC
    haproxy(8):haproxy代理MySQL要考虑的问题
    PXC快速入门
    vscode指定扩展安装位置
  • 原文地址:https://www.cnblogs.com/yuanxiaoping_21cn_com/p/2467889.html
Copyright © 2011-2022 走看看