I'm getting this error while trying to convert from jpeg to pdf:
convert: Wrong JPEG library version: library is 62, caller expects 80 `Image-10.jpg' @ error/jpeg.c/EmitMessage/235.
I've seen some solutions, but the all imply a more advance knowledge of things, like reinstalling jpeg, i just don't want to screw my system anymore than what it is, so if someone could guide me into the solution would be greatly appreciated!
I'm using Ubuntu 11.10.
IM Version:
ImageMagick 6.6.5-10 2011-04-25 Q16.
I've got 2 versions of jpeg lib:libjpeg 8 and libjpeg62.
Thanks!
Convert from jpeg to pdf error
Re: Convert from jpeg to pdf error
I really want/need to solve this, help please!!
Been stuck for a long time :S
Been stuck for a long time :S
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Convert from jpeg to pdf error
type
convert -list format and see what it says? mine shows
JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (80)
JPG* JPEG rw- Joint Photographic Experts Group JFIF format (80)
That probably means you need to remove libjpeg62 and recompile IM so that it finds the right libjpeg.
Also what do you get from:
convert -list configure
at the line starting with DELEGATES
bzlib fftw fontconfig freetype gs jpeg jng jp2 lcms2 lqr openexr png rsvg tiff x11 xml zlib
Does it show jpeg?
If I do a find, I get:
/opt/local/lib/libjpeg.8.dylib
So again it looks like you need to remove v 62 and reinstall IM so that it finds only v 8
convert -list format and see what it says? mine shows
JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (80)
JPG* JPEG rw- Joint Photographic Experts Group JFIF format (80)
That probably means you need to remove libjpeg62 and recompile IM so that it finds the right libjpeg.
Also what do you get from:
convert -list configure
at the line starting with DELEGATES
bzlib fftw fontconfig freetype gs jpeg jng jp2 lcms2 lqr openexr png rsvg tiff x11 xml zlib
Does it show jpeg?
If I do a find, I get:
/opt/local/lib/libjpeg.8.dylib
So again it looks like you need to remove v 62 and reinstall IM so that it finds only v 8
Re: Convert from jpeg to pdf error
convert -list format shows:
JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (80)
JPG* JPEG rw- Joint Photographic Experts Group JFIF format (80)
And convert -list configure:
DELEGATES fftw fontconfig freetype jpeg jng openexr png rsvg tiff x11 xml zlib
Thanks for your reply!
JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (80)
JPG* JPEG rw- Joint Photographic Experts Group JFIF format (80)
And convert -list configure:
DELEGATES fftw fontconfig freetype jpeg jng openexr png rsvg tiff x11 xml zlib
Isn't there something else that uses v 62, would i have to reinstall those too?So again it looks like you need to remove v 62 and reinstall IM so that it finds only v 8
Thanks for your reply!
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Convert from jpeg to pdf error
I am no expert on that. But seems like if something else needed libjpeg, it could use v 8. You could always re-install v 62 if you find something else has broke. But that is just my opinion. Perhaps the IM developers can give you more information.
Have you tried just reinstalling IM and see what happens?
Again I know little about installing on Linux. I use a Mac OSX and get all my delegates from MacPorts, but I install IM manually from source rather than from MacPorts.
Have you tried just reinstalling IM and see what happens?
Again I know little about installing on Linux. I use a Mac OSX and get all my delegates from MacPorts, but I install IM manually from source rather than from MacPorts.
Re: Convert from jpeg to pdf error
So i did the following:
reinstalled imgaMagick, still had the same problem converting.
erased libjpeg.so.62*:
/usr/lib/i386-linux-gnu$ sudo rm -f libjpeg.so.62*
and then:
ln -s /usr/local/lib/libjpeg.so.8.0.2 libjpeg.so.62
and reinstalled imgamagick again, then tried converting from jpeg to pdf once more and got this error:
convert: /usr/lib/i386-linux-gnu/libjpeg.so.62: version `LIBJPEG_6.2' not found (required by /usr/lib/i386-linux-gnu/libtiff.so.4)
So i'm not sure what to do now, but i'll keep trying, thanks for the help!
reinstalled imgaMagick, still had the same problem converting.
erased libjpeg.so.62*:
/usr/lib/i386-linux-gnu$ sudo rm -f libjpeg.so.62*
and then:
ln -s /usr/local/lib/libjpeg.so.8.0.2 libjpeg.so.62
and reinstalled imgamagick again, then tried converting from jpeg to pdf once more and got this error:
convert: /usr/lib/i386-linux-gnu/libjpeg.so.62: version `LIBJPEG_6.2' not found (required by /usr/lib/i386-linux-gnu/libtiff.so.4)
So i'm not sure what to do now, but i'll keep trying, thanks for the help!