在 Ubuntu 上安装 rmagick 有针对不同版本的 ubuntu 的解决方案,但没有一个适用于 17.04 ?
sudo apt-get install libmagickwand-dev
给
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libmagickwand-dev : Depends: imagemagick-6-common (= 8:6.9.7.4+dfsg-3ubuntu1) but 8:6.9.7.4+dfsg-3ubuntu1.2 is to be installed
Depends: libmagickwand-6.q16-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
找不到任何解决方案。更新到 Ubuntu 到 17.10,它工作正常。