mac 安装 [email protected]报错
homebrew 安装 thrift 0.16.0
brew tap homebrew/core --force brew tap-new $USER/local-tap brew extract --version='0.16.0' thrift $USER/local-tap brew install [email protected]
通过安装 [email protected]的时候报错
“Error: [email protected] has been disabled because it is not supported upstream! It was disabled on 2024-10-24.”
需要将thfift中依赖的 [email protected] 改为 openssl@3 (有两处),通过以下命令修改
第二种方式
解除 Homebrew 中的 [email protected] 禁用,不推荐
brew edit [email protected]
注释 包含disable!或类似指令的代码。
安装 OpenSSL 1.1:
运行以下命令强制 Homebrew 使用本地配方文件而不是从 API 获取信息进行安装:
HOMEBREW_NO_INSTALL_FROM_API=1 brew install [email protected]

浙公网安备 33010602011771号