如何在mac yosemite上撤消`brew link --force openssl`

时间:2014-10-28 16:20:10

标签: macos homebrew

尝试使用php54升级brew公式时遇到了一些问题。我在github上找到了一些处理openssl php brew bug的建议。他们中的一些人建议运行brew link openssl --force并且我这样做但最后问题出在其他地方并且与openssl无关。

那么如何撤消brew link openssl --force。我试着看看这对brew link openssl --dry-run有什么作用,但输出是:

Warning: openssl is keg-only and must be linked with --force
Note that doing so can interfere with building software.

显然不是我期望的那个。

感谢。

1 个答案:

答案 0 :(得分:1)

只做

brew unlink openssl

这将删除运行brew link时创建的符号链接。