php - dyld:库未加载:/usr/local/php5/lib/libssh2.1.dylib
问题描述
简而言之,问题是:
curl --v
结果为:
dyld: Library not loaded: /usr/local/php5/lib/libssh2.1.dylib
Referenced from: /usr/local/bin/curl
Reason: image not found
在 MacOS Big Sur 11.2.1 上。所以有两个问题:
- 我该如何解决?
- (只是出于好奇)为什么系统安装的curl依赖于php5?
无效的解决方案:
提前致谢。
解决方案
解决方案
brew install libssh2
brew link libssh2
这需要
brew link --overwrite libssh2
就我而言。但这成功了。
显然,libssh2 链接已过时。
推荐阅读
- mysql-workbench - mysql服务不见了,bin文件夹也不见了
- javascript - 如何使用javascript查找方程中的变量
- java - AssetManager 不会在“assets”文件夹中打开 CSV 文件
- r - 如何将向量的第i个元素粘贴到向量列表的第i个元素
- c# - C#:动态排列布局的问题
- normalization - 如何交叉引用 JMESPath 或 JSONPath 中的属性?
- r - 在 flexdashboard 中调整传单高度
- javascript - 在一个简单的翻牌JS函数中解析turned = !turned的逻辑
- ssl - 将 ssl 证书导入 Apache Tomcat
- r - 使用 Caracas 包的 R 中 SymPy 矩阵的平方根