Can't find wand/MagickWand.h

前端 未结 4 1289
难免孤独
难免孤独 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: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

提交回复
热议问题