【发布时间】:2014-02-25 20:20:24
【问题描述】:
当我在终端中运行 brew doctor 时: 我收到以下错误:
Warning: Some keg-only formula are linked into the Cellar.
You may wish to `brew unlink` these brews:
openssl
如果我取消链接并输入 rvm 要求: 我会得到以下错误。
Checking requirements for osx.
dyld: Library not loaded: @@HOMEBREW_CELLAR@@/openssl/1.0.1f/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/openssl/bin/openssl
Reason: image not found
Failed reading certificates path for '/usr/local/opt/openssl/bin/openssl' with return code: ().
RVM autolibs is now configured with mode '2' => 'check and stop if missing',
please run `rvm autolibs enable` to let RVM do its job or run and read `rvm autolibs [help]`
or visit https://rvm.io/rvm/autolibs for more information.
Requirements installation failed with status: 133.
当我运行 brew unlink openssl 时,myssl 版本从 OpenSSL 1.0.1f 更改为 2014 年 1 月 6 日 至 OpenSSL 0.9.8y 2013 年 2 月 5 日
所以问题是:如何让 Brew Doctor 和 RVM 要求都满意?通过拥有相同的 OpenSSL 版本? (假设)
【问题讨论】:
-
不!听说 macports 和 homebrew 冲突,所以没有安装
-
你试过
brew reinstall openssl吗? -
是的,它有效。 openssl 工作正常。但它的运行版本是 0.9 而不是 1.0。这就是导致问题的原因。