简体   繁体   中英

How do I undo `brew link --force openssl` on mac yosemite

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.

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.

and obviously not the one that I expect.

Thanks.

Just do

brew unlink openssl

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM