如何在Mac优胜美地上撤消``brew link --force openssl'' [英] How do I undo `brew link --force openssl` on mac yosemite

查看:223
本文介绍了如何在Mac优胜美地上撤消``brew link --force openssl''的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试使用php54升级Brew公式时,我遇到了一些问题.我在github上发现了一些应对 openssl php brew bug 的建议.他们中的一些建议运行brew link openssl --force,我这样做了,但是最后问题出在其他地方,并且与openssl无关.

I had some issues while trying to upgrade the brew formulas with php54. I found on github some suggestions to deal with the openssl php brew bug. Some of them suggested to run brew link openssl --force and I did that but at the end the issue was somewhere else and was not related to openssl.

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

So how do I undo brew link openssl --force. I tried to see what this does with brew link openssl --dry-run but the output is:

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

显然不是我所期望的.

谢谢.

推荐答案

只要做

brew unlink openssl

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

That will remove the symlinks that were created when running brew link.

这篇关于如何在Mac优胜美地上撤消``brew link --force openssl''的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆