Mongodump/OpenSSL - "image not found"错误



我最近将macOS更新为Catalina,mongodump不再工作。我已经更新了

dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/mongodb@3.6/bin/mongodump
Reason: image not found

我看到了一些问题,比如这个:dyld:Library not loaded:/usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib。这是公认的回答:

brew update && brew upgrade
brew uninstall openssl
brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb

然而,我在尝试安装1.0.0:版本时遇到了这个错误

Error: Calling Non-checksummed download of openssl formula file from an arbitrary URL is disabled! Use 'brew extract' or 'brew create' and 'brew tap-new' to create a formula file in a tap on GitHub instead.

有办法解决这个问题吗?我真的不知道该从那条信息中得到什么。

您可以通过运行brew --version来检查安装了哪个版本的Homebrew

您可以使用我以前的响应来实现Homebrew现在的建议。或者,如果您想使用Homebrew的以前版本来使用这些命令,请遵循以下步骤:

  1. 转到Homebrew文件夹cd /usr/local/Homebrew/
  2. 通过运行git checkout 2.3.0签出到以前的版本
  3. 安装OpenSSLHOMEBREW_NO_AUTO_UPDATE=1 brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb

来源:https://github.com/kelaberetiv/TagUI/issues/635#issuecomment-699482920

最新更新