繁体   English   中英

无法在 macOS 11 (Big Sur) 上运行 SQL*Plus

[英]Can't run SQL*Plus on macOS 11 (Big Sur)

我使用此命令安装 oracle 即时客户端基本但它不起作用

//mount instantclient-basic-macos.x64-19.8.0.0.0dbru.dmg

cd /Volumes/instantclient-basic-macos.x64-19.8.0.0.0dbru

./install_ic.sh

ln -s ~/Downloads/instantclient_19_8/libclntsh.dylib /usr/local/lib/

echo 'export PATH=~/Downloads/instantclient_19_8:$PATH' >>~/.bash_profile

我在 python 也有这个错误:

DPI-1047: Cannot locate a 64-bit Oracle Client library: "dlopen(libclntsh.dylib, 1): image not found". See https://oracle.github.io/odpi/doc/installation.html#macos for help

好像看安装说明,不支持Big Sur。

在此处输入图像描述

更新

由于我发布了之前的屏幕截图,现在 19.8 客户端似乎支持 Big Sur。

在此处输入图像描述

没有 Homebrew 的 MacOS 是什么? 什么是没有 sqlplus 的 Oracle 数据库?

我还没有尝试过 Big Sur,但这款 Tap 在 Catalina 上运行良好。 也许有人可以验证?

确保首先下载客户端压缩文件。

# install on MacOS
brew tap InstantClientTap/instantclient
cp ~/Download/instantclient*.zip /usr/local/Homebrew/Library/Taps/instantclienttap/homebrew-instantclient
brew install instantclient-basic
brew install instantclient-sqlplus
brew install instantclient-tools

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM