尝试使用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.
显然不是我期望的那个。
感谢。
答案 0 :(得分:1)
只做
brew unlink openssl
这将删除运行brew link
时创建的符号链接。