Page 1 of 1
convert - undefined symbol: TIFFGetConfiguredCODECs
Posted: 2009-10-21T02:00:51-07:00
by rafalusa
I'm trying to convert a fax to be larger ( for ocr ) and I get this error.
root@serv [/home/clm/faxes]# convert -geometry 150% fm.tif fm2.tif
convert: symbol lookup error: /usr/lib/ImageMagick-6.4.8/modules-Q16/coders/tiff.so: undefined symbol: TIFFGetConfiguredCODECs
libtiff is 3.9
just reinstalled imagemagick, didn't help.
Re: convert - undefined symbol: TIFFGetConfiguredCODECs
Posted: 2009-10-21T06:23:30-07:00
by magick
Curious. We're using libTIFF 6.3.9-1 and the symbol TIFFGetConfiguredCODECs() is defined. It has been defined for TIFF releases since 2004. We're not sure why its failing for you. You could fix by commenting out the call to TIFFGetConfiguredCODECs in coders/tiff.c and reinstalling ImageMagick.
Re: convert - undefined symbol: TIFFGetConfiguredCODECs
Posted: 2009-10-21T09:23:55-07:00
by rafalusa
I used yum for the install. I can't find tiff.c anywhere.
Re: convert - undefined symbol: TIFFGetConfiguredCODECs
Posted: 2009-10-21T09:29:55-07:00
by magick
Perhaps that's the problem. ImageMagick was built against a version of the TIFF library that includes the TIFFGetConfiguredCODECs() module but its now being used against a version that does not. Consider building from source. First install ImageMagick-devel from yum so all the delegate header files are installed. Next, download the ImageMagick source and configure, make, and install.
Re: convert - undefined symbol: TIFFGetConfiguredCODECs
Posted: 2009-10-21T09:56:43-07:00
by rafalusa
Installed -devel. Reinstalling ImageMagick. Will post results.
Btw, I tried the same commnad on a different server:
root@cpanel2 [/home]# convert -geometry 150% fm.tif fm2.tif
convert: fm.tif: unknown field with tag 292 (0x124) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/526.
root@cpanel2 [/home]# convert -version
Version: ImageMagick 6.4.8 2009-10-21 Q16 OpenMP
http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
I installed ImageMagick using:
/scripts/installimagemagick
which is a script from cpanel.
Very odd.
I will post results shortly.
Re: convert - undefined symbol: TIFFGetConfiguredCODECs
Posted: 2009-10-21T19:08:16-07:00
by rafalusa
I compiled manually, and used the bin's for that and it worked fine.