浏览 1615 次
锁定老帖子 主题:RMagick Installation
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2008-02-18
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. 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |