Original ERROR error: ImageMagick / GraphicsMagick not installed

I have an application that uses Imagemagick, but I had to rebuild my environment, and now when I try to upload an avatar (which is why I use Imagemagick), it continues to give me the following error when I try to add an image.

Avatar Failed to manipulate with MiniMagick, maybe it is not an image? Original Error: ImageMagick/GraphicsMagick is not installed 

I installed it in the folder where my application is located, but it seems that the application does not recognize the installation. Is there a way to make the application recognize the minimagic, or I installed it in the wrong place, or am I completely turned off.

-Update-

I removed minimgick and reinstalled, but still getting the same error, although it shows that it is installed. Here are my versions ...

-imagemagick-6.9.1-6

-ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]

-Rails 4.0.10

-running on Mac

+13
source share
7 answers

You need to install libmagickwand-dev in order to successfully complete the rmagick gem. The following command will do all the work for you:

 sudo apt-get install libmagickwand-dev 

On a Mac, you should run the following command:

 brew install imagemagick # it requires you to install Homebrew first. 
+30
source

on Ubuntu:

 sudo apt-get install imagemagick 
+18
source

I had the same problem and solved:

sudo apt-get update

sudo apt-get install imagemagick --fix-missing

+17
source

You just need to update the system libraries. try the following: -

sudo apt-get -f install

and then you can download it.

+1
source

Just an update of my experience. I recently had the same issue with the latest version of ImageMagick 7.0.8-7. I fixed the problem by simply lowering it to 6.9 .... This for some reason solved the problem.

  • I was on Windows by the way. x64.
0
source

sudo apt-get install graphicsmagick-imagemagick-compat

0
source

For those who on Cloud9 encountered an error:

MiniMagick :: Invalid (you must have ImageMagick or GraphicsMagick installed)

this is solved for me:

 sudo yum install ImageMagick 
0
source

All Articles