安装imagemagick时遇到问题,尤其是brew link libtiff

安装imagemagick时遇到问题,尤其是brew link libtiff,imagemagick,homebrew,libtiff,Imagemagick,Homebrew,Libtiff,基本上,我正在尝试使用brew安装imagemagick,但出现以下错误 [~]$ brew install imagemagick ==> Installing imagemagick dependency: libtiff ==> Downloading http://download.osgeo.org/libtiff/tiff-4.0.1.tar.gz Already downloaded: /Library/Caches/Homebrew/libtiff-4.0.1.tar

基本上,我正在尝试使用brew安装imagemagick,但出现以下错误

[~]$ brew install imagemagick
==> Installing imagemagick dependency: libtiff
==> Downloading http://download.osgeo.org/libtiff/tiff-4.0.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/libtiff-4.0.1.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libtiff/4.0.1
==> make install
Error: The linking step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link libtiff'
==> Summary
/usr/local/Cellar/libtiff/4.0.1: 239 files, 3.7M, built in 42 seconds
Error: You must `brew link libtiff' before little-cms can be installed
[~]$ brew link libtiff
Linking /usr/local/Cellar/libtiff/4.0.1... 
Error: Could not symlink file: /usr/local/Cellar/libtiff/4.0.1/share/man/man3/TIFFWriteDirectory.3tiff
Target /usr/local/share/man/man3/TIFFWriteDirectory.3tiff already exists. You may need to delete it.
每次我删除一个文件时,都会收到一条错误消息,要求我删除另一个文件。我已经删除了20个这样的文件,我不知道还有多少。有没有更简单的方法

谢谢你的建议

试试这个

> brew link --overwrite libtiff
试试这个

> brew link --overwrite libtiff