after brew install imagemagick and brew install ghostscript on osx when i run identify i get:
$ identify
dyld: Library not loaded: /usr/local/lib/libtiff.3.dylib
Referenced from: /usr/local/bin/identify
Reason: image not found
Trace/BPT trap: 5
after brew install imagemagick and brew install ghostscript on osx when i run identify i get:
$ identify
dyld: Library not loaded: /usr/local/lib/libtiff.3.dylib
Referenced from: /usr/local/bin/identify
Reason: image not found
Trace/BPT trap: 5
this fixes it
ln -s /usr/local/Cellar/libtiff/3.9.5/lib/libtiff.3.dylib /usr/local/lib/libtiff.3.dylib
thanks to rlaraujo on this link https://github.com/mxcl/homebrew/issues/12099
我最近在 10.6.8 上遇到了同样的问题。我安装了 ImageMagick(从回来的路上),然后安装freetype
并ghostscript
开始出现故障。对我来说,修复只是升级 ImageMagick,它重建并链接到更新的libtiff
和其他库。
brew upgrade imagemagick
libpng
当我尝试对convert
png 文件使用命令时,我遇到了与库类似的问题。
我首先尝试升级 imagemagick,但我拥有的当前版本的 brew 没有可用的升级。更新 brew 然后升级 ImageMagick 解决了这个问题。
brew update
brew upgrade imagemagick