开发者

RMagick + Ubuntu - wrong jpeg library?

开发者 https://www.devze.com 2023-01-22 06:37 出处:网络
I\'m having an issue getting RMagick to behave on Ubuntu Intrepid. RMagick installed correctly, but when I attempt to use the JPEG manipulation functions, I get the following error:

I'm having an issue getting RMagick to behave on Ubuntu Intrepid. RMagick installed correctly, but when I attempt to use the JPEG manipulation functions, I get the following error:

Magick::ImageMagickError 
(Wrong JPEG library version: library is 62, caller expects 80

However, w开发者_如何学Gohen I look in /usr/local/lib, I see libjpeg.so.8.0.2 is installed. Where should I go from here? I can't find any documentation on this issue anywhere on the 'net. Thanks.


How did you install it? If you install from the Ubuntu package manager, it goes into /usr/lib/libjpeg.so.8.0.2. Try sudo apt-get install libjpeg8.

0

精彩评论

暂无评论...
验证码 换一张
取 消