Problems converting gif to tif and jpg to tif on Linux Suse8
Posted: 2008-05-08T11:35:33-07:00
I'm running on a Linux Suse8 system with Ghostscript 8.6.2 and ImageMagick 6.4.0-9.
Everything works except I cannot convert gif to tif or jpg to tif. The same files convert fine on my windows system.
GIF to TIF:
convert Peppers_closeup.gif peppers.tif
convert: ../libtiff/tif_predict.c:476: TIFFPredictorCleanup: Assertion `sp != 0' failed.
I compiled the components on my Linux systems and I see a few errors in config.log regarding
tif. Is there something I am missing? A library perhaps?
From config.log:
configure:39568: gcc -o conftest -g -O2 -Wall -W -pthread -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -L/usr/X11R6/lib -lfreetype conftest.c -ltiff -llcms -ljpeg -lpng -lfreetype -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lz -lm -ldl -lpthread >&5
/tmp/ccWWLAoy.o: In function `main':
/usr/local/ImageMagick-6.4.0/conftest.c:210: undefined reference to `TIFFGetConfiguredCODECs'
collect2: ld returned 1 exit status
configure:39597: result: no
configure:39512: checking for TIFFMergeFieldInfo
configure:39568: gcc -o conftest -g -O2 -Wall -W -pthread -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -L/usr/X11R6/lib -lfreetype conftest.c -ltiff -llcms -ljpeg -lpng -lfreetype -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lz -lm -ldl -lpthread >&5
/tmp/ccaB1gYK.o: In function `main':
/usr/local/ImageMagick-6.4.0/conftest.c:210: undefined reference to `TIFFMergeFieldInfo'
configure:39597: result: no
configure:39512: checking for TIFFReadEXIFDirectory
configure:39568: gcc -o conftest -g -O2 -Wall -W -pthread -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -L/usr/X11R6/lib -lfreetype conftest.c -ltiff -llcms -ljpeg -lpng -lfreetype -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lz -lm -ldl -lpthread >&5
/tmp/cc8ErfEZ.o: In function `main':
/usr/local/ImageMagick-6.4.0/conftest.c:210: undefined reference to `TIFFReadEXIFDirectory'
collect2: ld returned 1 exit status
configure:39597: result: no
configure:39512: checking for TIFFSetErrorHandlerExt
configure:39568: gcc -o conftest -g -O2 -Wall -W -pthread -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -L/usr/X11R6/lib -lfreetype conftest.c -ltiff -llcms -ljpeg -lpng -lfreetype -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lz -lm -ldl -lpthread >&5
/tmp/ccmsKrat.o: In function `main':
/usr/local/ImageMagick-6.4.0/conftest.c:210: undefined reference to `TIFFSetErrorHandlerExt'
configure:39512: checking for TIFFSetWarningHandlerExt
configure:39568: gcc -o conftest -g -O2 -Wall -W -pthread -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -L/usr/X11R6/lib -lfreetype conftest.c -ltiff -llcms -ljpeg -lpng -lfreetype -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lz -lm -ldl -lpthread >&5
/tmp/ccamr1eX.o: In function `main':
/usr/local/ImageMagick-6.4.0/conftest.c:211: undefined reference to `TIFFSetWarningHandlerExt'
collect2: ld returned 1 exit status
configure:39597: result: no
configure:39512: checking for TIFFSwabArrayOfTriples
configure:39568: gcc -o conftest -g -O2 -Wall -W -pthread -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -L/usr/X11R6/lib -lfreetype conftest.c -ltiff -llcms -ljpeg -lpng -lfreetype -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lz -lm -ldl -lpthread >&5
/tmp/ccMP2pw4.o: In function `main':
/usr/local/ImageMagick-6.4.0/conftest.c:211: undefined reference to `TIFFSwabArrayOfTriples'
collect2: ld returned 1 exit status
Everything works except I cannot convert gif to tif or jpg to tif. The same files convert fine on my windows system.
GIF to TIF:
convert Peppers_closeup.gif peppers.tif
convert: ../libtiff/tif_predict.c:476: TIFFPredictorCleanup: Assertion `sp != 0' failed.
I compiled the components on my Linux systems and I see a few errors in config.log regarding
tif. Is there something I am missing? A library perhaps?
From config.log:
configure:39568: gcc -o conftest -g -O2 -Wall -W -pthread -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -L/usr/X11R6/lib -lfreetype conftest.c -ltiff -llcms -ljpeg -lpng -lfreetype -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lz -lm -ldl -lpthread >&5
/tmp/ccWWLAoy.o: In function `main':
/usr/local/ImageMagick-6.4.0/conftest.c:210: undefined reference to `TIFFGetConfiguredCODECs'
collect2: ld returned 1 exit status
configure:39597: result: no
configure:39512: checking for TIFFMergeFieldInfo
configure:39568: gcc -o conftest -g -O2 -Wall -W -pthread -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -L/usr/X11R6/lib -lfreetype conftest.c -ltiff -llcms -ljpeg -lpng -lfreetype -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lz -lm -ldl -lpthread >&5
/tmp/ccaB1gYK.o: In function `main':
/usr/local/ImageMagick-6.4.0/conftest.c:210: undefined reference to `TIFFMergeFieldInfo'
configure:39597: result: no
configure:39512: checking for TIFFReadEXIFDirectory
configure:39568: gcc -o conftest -g -O2 -Wall -W -pthread -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -L/usr/X11R6/lib -lfreetype conftest.c -ltiff -llcms -ljpeg -lpng -lfreetype -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lz -lm -ldl -lpthread >&5
/tmp/cc8ErfEZ.o: In function `main':
/usr/local/ImageMagick-6.4.0/conftest.c:210: undefined reference to `TIFFReadEXIFDirectory'
collect2: ld returned 1 exit status
configure:39597: result: no
configure:39512: checking for TIFFSetErrorHandlerExt
configure:39568: gcc -o conftest -g -O2 -Wall -W -pthread -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -L/usr/X11R6/lib -lfreetype conftest.c -ltiff -llcms -ljpeg -lpng -lfreetype -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lz -lm -ldl -lpthread >&5
/tmp/ccmsKrat.o: In function `main':
/usr/local/ImageMagick-6.4.0/conftest.c:210: undefined reference to `TIFFSetErrorHandlerExt'
configure:39512: checking for TIFFSetWarningHandlerExt
configure:39568: gcc -o conftest -g -O2 -Wall -W -pthread -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -L/usr/X11R6/lib -lfreetype conftest.c -ltiff -llcms -ljpeg -lpng -lfreetype -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lz -lm -ldl -lpthread >&5
/tmp/ccamr1eX.o: In function `main':
/usr/local/ImageMagick-6.4.0/conftest.c:211: undefined reference to `TIFFSetWarningHandlerExt'
collect2: ld returned 1 exit status
configure:39597: result: no
configure:39512: checking for TIFFSwabArrayOfTriples
configure:39568: gcc -o conftest -g -O2 -Wall -W -pthread -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -L/usr/X11R6/lib -lfreetype conftest.c -ltiff -llcms -ljpeg -lpng -lfreetype -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lz -lm -ldl -lpthread >&5
/tmp/ccMP2pw4.o: In function `main':
/usr/local/ImageMagick-6.4.0/conftest.c:211: undefined reference to `TIFFSwabArrayOfTriples'
collect2: ld returned 1 exit status