Can't install RMagick 0.0.0. Can't find Magick-config

For whoever runs into this problem in the future: It took me long but it's fixed. This is what I did:

  • sudo apt-get purge imagemagick libmagickcore-dev libmagickwand-dev
  • sudo rm -R /usr/include/ImageMagick-6/magick
  • sudo ln -s /usr/lib/x86_64-linux-gnu/ImageMagick-6.8.9/bin-Q16/Magick-config /usr/bin/Magick-config
  • sudo apt-get install imagemagick libmagickcore-dev libmagickwand-dev

apt-get install libmagickcore-dev

worked well for me.


I think you have to install libmagickwand-dev from the ubuntu archive:

This package included the static libraries needed to compile programs using MagickWand.It contains the MagickWand.h file

This is a transition package that depends on default quantum libmagickwand development files.

sudo apt-get install libmagickwand-dev

After install this dependency you need to install rmagick:

gem install rmagick