在安装图像魔术时遇到问题,特别是使用brew link 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.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

最新更新