赞
踩
ORA-00000: DPI-1047: Cannot locate a 64-bit Oracle Client library: "libclntsh.so: cannot open shared object file: No such file or directory". See https://oracle.github.io/odpi/doc/installation.html#linux for help
- mkdir -p /opt/oracle
-
- cd /opt/oracle
-
- # 外网下载
- wget https://download.oracle.com/otn_software/linux/instantclient/instantclient-basic-linuxx64.zip
- # 内网上传
- unzip instantclient-basic-linux.x64-21.1.0.0.0.zip
-
- #非必要,装的时候看到了两个安装步骤,所以途中执行了这两条命令,目测不需要执行,但执行了也不影响
- #ldconfig
- #ldd /opt/oracle/instantclient_21_14/libclntsh.so
-
- cd /etc/ld.so.conf.d/
-
- vi oracle.conf
- #编辑操作-开始
- i
- /opt/oracle/instantclient_21_14/
- esc
- :wq
- #编辑操作-结束
-
- ldconfig
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。