Can't find wand/MagickWand.h

前端 未结 4 1290
难免孤独
难免孤独 2021-02-20 02:31

I have update my system to Ubuntu 15.04 and now Rmagick can\'t be installed...

It gives me the following error:

$ gem install rmagick -v \'2.13.2\'
Build         


        
相关标签:
4条回答
  • 2021-02-20 03:12

    I ran into same problem on clean Ubuntu 15.4 installation. Upgrade rmagick from 2.13.2 to 2.15.0 helped.

    Things I tried, that did not help:

    • manually symlink in /usr/include/wand MagickWand.hmagick_wand.h;
    • rolling back to libmagickcore-dev.

    Hope it helps.

    0 讨论(0)
  • 2021-02-20 03:19

    I am on ubuntu 15.04 and was able to get it by specifying version of rmagick

    gem 'rmagick', '2.15.0'
    
    0 讨论(0)
  • 2021-02-20 03:28

    If you are on Debian/Ubuntu I was able to fix it by doing the following:

    1. sudo apt-get install libmagickwand-dev

    2. sudo apt-get install graphicsmagick-imagemagick-compat

    3. PATH="/usr/lib/x86_64-linux-gnu/ImageMagick-6.8.9/bin-Q16:$PATH" gem install rmagick -v '2.13.2'

    your lib versions may be different so check the version in /usr/lib/x86...

    I got this from this discussion: https://github.com/ttscoff/Slogger/issues/344

    0 讨论(0)
  • 2021-02-20 03:34

    I had the same problem and I fixed it up updating rmagick. What I did was:

    sudo apt-get install libmagickwand-dev imagemagick
    bundle update rmagick
    

    And now bundle works correctly.

    0 讨论(0)
提交回复
热议问题