Search code examples
rubyubuntuimagemagickrmagick

RMagick + Ubuntu - wrong jpeg library?


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, when 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.


Solution

  • 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.