Skip to content

Instantly share code, notes, and snippets.

@prdetective
Forked from roolo/Error
Last active August 29, 2015 14:21
Show Gist options
  • Save prdetective/c1abf33c7a05409c082e to your computer and use it in GitHub Desktop.
Save prdetective/c1abf33c7a05409c082e to your computer and use it in GitHub Desktop.
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.
$ 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