论坛首页 编程语言技术论坛

RMagick Installation

浏览 1615 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2008-02-18  
RMagcik problems encountered:

1.Why can not install the RMagcik through gem command correctly. The answer may be that you need to install the following packages firstly:

    * g++ (Yes, even if you have gcc installed)
    * imagemagick
    * libc6-dev
    * libmagick9
    * libmagick++9-dev
    * libmagic9-dev
    * ruby1.8-dev

Once that’s done, then do the gem install RMagick.

reference: http://www.urbanpuddle.com/articles/2007/05/29/quick-tip-install-rmagick-gem-on-ubuntu http://www.elctech.com/2008/2/6/setting-up-rmagick-needs-imagemagick-6-3-x-on-ubuntu

2.After successfully installing RMagick, your project may still not work correctly. So, check up your libary dependency using the "ldd" command, for instance, change the direction to RMagick folder, then run "ldd RMagick2.so", what do you see? In the result it shows that you may lost some *.so file in the specified place, what you should do is to copy those files to the very folder or just create a soft link to it. That will work well.
论坛首页 编程语言技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics