Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't install RMagick 2.16.0

* 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.

like image 656
Anubhi Golechha Avatar asked Aug 29 '16 06:08

Anubhi Golechha


1 Answers

Had the exact same problem. The following fixed it for me, using Ubuntu Linux:

sudo apt-get update
...
sudo apt-get install libmagickcore-dev
...
sudo apt-get install libmagickwand-dev
...
bundle install

You may have to run bundle update if you have other dependency issues, as I did. Good luck!

like image 191
B. Bulpett Avatar answered Oct 01 '22 09:10

B. Bulpett