简体   繁体   English

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

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

i install oracle instant client basic with this commands but it's not work我使用此命令安装 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

i have this error in python too:我在 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

It seems that looking at the installation instructions , Big Sur is not supported.好像看安装说明,不支持Big Sur。

在此处输入图像描述

Update更新

Since I had posted the previous screenshot, it seems that Big Sur is now supported for the 19.8 client.由于我发布了之前的屏幕截图,现在 19.8 客户端似乎支持 Big Sur。

在此处输入图像描述

What is MacOS without Homebrew?没有 Homebrew 的 MacOS 是什么? What is Oracle Database without sqlplus?什么是没有 sqlplus 的 Oracle 数据库?

I haven't tried Big Sur yet but this Tap works beautifully on Catalina.我还没有尝试过 Big Sur,但这款 Tap 在 Catalina 上运行良好。 Perhaps someone can verify?也许有人可以验证?

Make sure to download the client-zip-files first.确保首先下载客户端压缩文件。

# 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