• 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
     

  • 相关阅读:
    计算两张图的余弦相似度
    绘制heatmap
    TensorFlow图像识别(物体分类)入门教程
    毕业设计任务01-前期调查与选题
    个人附加作业
    个人作业3——个人总结(Alpha阶段)
    结对编程2——单元测试
    个人作业2——英语学习APP案例分析
    结对作业1----基于GUI的四则运算生成器
    个人作业1——四则运算题目生成程序
  • 原文地址:https://www.cnblogs.com/yuanxiaoping_21cn_com/p/2467889.html
Copyright © 2020-2023  润新知