zoukankan      html  css  js  c++  java
  • ubuntu创建oracle客户端

    出现这样的问题oracle一直报错64-bit Oracle Client library cannot be loaded: "libclntsh.so: cannot open shared object file

    未安装异步io,未建立软连接,未配置好环境变量

    因此在常规(以12.2为例子)的 安装下还要做如下操作:

    1、

    cd /opt/oracle/instantclient_12_2
    ln -s libclntsh.so.12.2 libclntsh.so
    ln -s libocci.so.12.2 libocci.so

    2、sudo yum install libaio (ubuntu sudo apt-get libaio-dev)

    3、

    sudo sh -c "echo /opt/oracle/instantclient_12_2 > 
          /etc/ld.so.conf.d/oracle-instantclient.conf"
      sudo ldconfig

    4、export LD_LIBRARY_PATH=/opt/oracle/目录:$LD_LIBRARY_PATH

    5、export PATH=/opt/oracle/目录:$PATH

    
    
  • 相关阅读:
    Server Profiler
    Unit Test with VS.NET
    js解析json字符
    多维数组
    $routeProvider与$stateProvider区别
    post 与get
    gulp配置
    homebrew常用指令
    less.js
    过滤器
  • 原文地址:https://www.cnblogs.com/zhearts/p/12832641.html
Copyright © 2011-2022 走看看