When I run a command convert file.pdfor gsin a terminal, I get the following error:
dyld: Library not loaded: /usr/local/lib/libjbig2dec.0.dylib
Referenced from: /usr/local/bin/gs
Reason: image not found
I installed imagemagick and ghostscript using homebrew:
brew install imagemagick
brew install gs
I tried solutions on related issues like reinstalling, switching, etc., but I just can't get it to work.
I also tried:
brew uninstall libtool
brew install libtool
brew unlink libtool && brew link libtool
Homebrew, libtool, imagemagick and ghostscript are all up to date, and I am running the latest version of Mavericks.
Any ideas on how to fix this?
source
share