Created
May 6, 2013 11:30
-
-
Save roolo/5524621 to your computer and use it in GitHub Desktop.
Fix for RMagick 2.12.2 vs. ImageMagick. Mac, Homebrew
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Can't install RMagick 2.12.2. Can't find the ImageMagick library or one of the dependent libraries. Check the mkmf.log file for more detailed information. | |
*** extconf.rb failed *** | |
Could not create Makefile due to some reason, probably lack of | |
necessary libraries and/or headers. Check the mkmf.log file for more | |
details. You may need configuration options. | |
Provided configuration options: | |
--with-opt-dir | |
--without-opt-dir | |
--with-opt-include | |
--without-opt-include=${opt-dir}/include | |
--with-opt-lib | |
--without-opt-lib=${opt-dir}/lib | |
--with-make-prog | |
--without-make-prog | |
--srcdir=. | |
--curdir | |
--ruby=/Users/mailo/.rvm/rubies/ree-1.8.7-2012.02/bin/ruby | |
--with-MagickCorelib | |
--without-MagickCorelib | |
--with-Magicklib | |
--without-Magicklib | |
Gem files will remain installed in /Users/mailo/.rvm/gems/ree-1.8.7-2012.02@alaplaya/gems/rmagick-2.12.2 for inspection. | |
Results logged to /Users/mailo/.rvm/gems/ree-1.8.7-2012.02@alaplaya/gems/rmagick-2.12.2/ext/RMagick/gem_make.out | |
An error occurred while installing rmagick (2.12.2), and Bundler cannot continue. | |
Make sure that `gem install rmagick -v '2.12.2'` succeeds before bundling. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd /usr/local/Cellar/imagemagick/6.8.0-10/lib | |
$ ln -s libMagick++-Q16.7.dylib libMagick++.dylib | |
$ ln -s libMagickCore-Q16.7.dylib libMagickCore.dylib | |
$ ln -s libMagickWand-Q16.7.dylib libMagickWand.dylib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This will also help you.
brew remove imagemagic
brew tap homebrew/versions
brew search imagemagic
brew install homebrew/versions/imagemagick-ruby186
gem install rmagick -v '2.12.2'