当我在 rvm 中安装 rmagick 时,我不断收到此错误。
checking for InitializeMagick() in -lMagickCore... no
checking for InitializeMagick() in -lMagick... no
checking for InitializeMagick() in -lMagick++... no
Can't install RMagick 2.13.1. Can't find the ImageMagick library or one of the dependent libraries. Check the mkmf.log file for more detailed information.
这是我当前的设置:
Snow Leopard 10.6.7
XCode 3.2.6
RVM 1.6.1
Ruby Over RVM (ree1.8.7)
Homebrew 0.8
ImageMagick 6.6.9-4 c/o Homebrew
使用 Homebrew 安装 imagemagick 后,我可以使用系统 ruby 安装 rmagick
rvm system
sudo gem install rmagick
有任何想法吗?