无法使用rbenv安装RMagick

时间:2022-03-24 00:18:11

I'm using rbenv on my Ubuntu 10.04 server and I already installed ImageMagick, but I can't get RMagick to install successfully. I get the following error message

我在我的Ubuntu 10.04服务器上使用rbenv,我已经安装了ImageMagick,但我无法成功安装RMagick。我收到以下错误消息

Can't install RMagick 2.13.1. Can't find MagickWand.h

Any ideas?

有任何想法吗?

Thanks!

谢谢!

1 个解决方案

#1


15  

You need to install the development headers for libmagickwand like so:

你需要为libmagickwand安装开发头文件,如下所示:

apt-get install libmagickwand-dev

#1


15  

You need to install the development headers for libmagickwand like so:

你需要为libmagickwand安装开发头文件,如下所示:

apt-get install libmagickwand-dev