imagemagick identify gives “dyld: Library not loaded: /usr/local/lib/libtiff.3.dylib”

强颜欢笑 提交于 2019-12-10 12:57:12

问题


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

回答1:


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




回答2:


I ran into the same problem recently on 10.6.8. I had ImageMagick installed (from way back) and then installed freetype and ghostscript and started getting the failure. The fix for me was simply to upgrade ImageMagick, which rebuilt and linked up to the newer libtiff and other libraries.

brew upgrade imagemagick



回答3:


I ran into a similar problem with libpng library when I tried to use convertcommand with png files.

I first tried upgrading imagemagick but there were no upgrades available for the current version of brew I had. Updating brew and then upgrading ImageMagick solved the problem.

brew update
brew upgrade imagemagick


来源:https://stackoverflow.com/questions/13795469/imagemagick-identify-gives-dyld-library-not-loaded-usr-local-lib-libtiff-3-d

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