Install ImageMagicK on OSX Lion
source link: https://www.sethvargo.com/install-imagemagick-on-osx-lion/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Yay! Not only has Apple taken us a few steps back in terms of the operating system, but they've also broken my favorite memory-leaking image-manipulation tool - ImageMagick!
Thankfully, I've come up with a way to get it working again (although the process is slightly bassackwards):
Using Homebrew
If you are using Homebrew as a package manager for Mac, you'll need to perform the following steps to get ImageMagicK working on OSX Mountain Lion:
Remove any existing versions of ImageMagick:
$ brew uninstall imagemagick
Update Homebrew
$ brew update
Install the latest Xcode from the App Store (it's free now?)
Clean up using the command
$ brew cleanup
Ensure brew is roaring
$ brew doctor
And delete any files that end in .a
or .la
(Re)install ImageMagick
$ brew install imagemagick
Using MacPorts
If you are using MacPorts as a package manager for Mac, you'll need to perform the following steps to get ImageMagicK working on OSX Mountain Lion:
Remove any existing versions of ImageMagick:
$ port uninstall imagemagick
Update MacPorts
$ port selfupdate
Install the latest Xcode from the App Store (it's free now?)
(Re)install ImageMagick
$ port install imagemagick
Without a Package Manager
Download Homebrew
See Part 1
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK