-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ImageMagic installed via Homebrew doesn't work #39
Comments
Works for me:
|
probably u will find the solution in here: rmagick/rmagick#60 |
Looks like a candidate for closing, @mmaiza. |
Despite trying everything and following all StackOverflow recommendations, I can't install rmagick. Ugh. Help!
|
Aha! Reinstalling |
Reinstalling
I've already spent several hours on this. Please help. mkmf.log file contains the following:
Why would it even check for old version of imagemagick? |
Nevermind, I had ruby installed under previous version of Mac OS X. Reinstalling ruby fixed the issue. just run |
May be you are installing ImageMagick version 7.x.x which will generate different folder names in your In ImageMagick6.x.x version we have That's why we are getting this error :
and in log file something like this :
Solution Install the ImageMagick6.x.x version in your system from the official site : https://www.imagemagick.org/download/ and install it using this commands(after extract zip/tar) :
Then do
It will work. |
You could also install imagemagick 6 with homebrew
|
Confirm solution of @sragu is worked. But I lost this env variable each time I log out/restart or sthg like that.
|
I use a Mac, and homebrew for many packages including ImageMagick. I noticed a very annoying issue that I had to work around. Homebrew symlinks to
/usr/local/bin
and/usr/local/include
. For example:/usr/local/include/ImageMagick -> /usr/local/homebrew/.../ImageMagick
. This works fine with most libraries that need imagemagick since Magick-config produces the correct paths to the symlinks and the compilers just follow the sym links.The rmagic gem compile does not seem capible of following symlinks and therefore cannot find
/usr/local/include/wand/MagickWand.h
which is there.My solution was to install ImageMagick via https://github.com/maddox/magick-installer/blob/master/magick-installer.sh, which doesn't use symlinks. Without symlinks things work fine.
The text was updated successfully, but these errors were encountered: