Brew linking with ImageMagick

寵の児 提交于 2019-12-05 10:38:58

As suggested in the brew link output, try

brew link -f imagemagick

This should clean up old links in /usr/local/include/ImageMagick/, and then link the files required to complete the installation.

If this doesn't work check that your user has permission to write to /usr/local/include/ImageMagick/*.

Justin Vincent

After hours and hours of trying the only thing that worked for me was:

sudo brew link --overwrite imagemagick

(Also requires /usr/local/bin/brew to be chowned to root)

Luke Fitzpatrick

Homebrew does not support the overwrite sudo command anymore.

sudo brew link --overwrite imagemagick

Error: Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!