convert - undefined symbol: TIFFGetConfiguredCODECs

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
rafalusa

convert - undefined symbol: TIFFGetConfiguredCODECs

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: convert - undefined symbol: TIFFGetConfiguredCODECs

Post 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.
rafalusa

Re: convert - undefined symbol: TIFFGetConfiguredCODECs

Post by rafalusa »

I used yum for the install. I can't find tiff.c anywhere.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: convert - undefined symbol: TIFFGetConfiguredCODECs

Post 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.
rafalusa

Re: convert - undefined symbol: TIFFGetConfiguredCODECs

Post 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.
rafalusa

Re: convert - undefined symbol: TIFFGetConfiguredCODECs

Post by rafalusa »

I compiled manually, and used the bin's for that and it worked fine.
Post Reply