No JPEG Support

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Locked
crabbylou
Posts: 1
Joined: 2020-03-08T06:07:17-07:00
Authentication code: 1152

No JPEG Support

Post by crabbylou »

Hi,

I am trying to convert HEIC files to JPEG. After installing "ImageMagick 7.0.10-1" on my Fedora 27 workstation, it cannot find the JPEG decodes.

Code: Select all

root@localhost ImageMagick]# mogrify -format jpg *.heic
mogrify: unable to open image 'jpg:': No such file or directory @ error/blob.c/OpenBlob/3496.
mogrify: unrecognized image format `jpg' @ error/mogrify.c/MogrifyImageCommand/5007.
"convert -list format" shows no JPEG decodes.

My install log (grepping for jpeg) shows this:

Code: Select all

[root@localhost ImageMagick]# cat config.log | grep jpeg
configure:30978: checking jpeglib.h usability
In file included from /usr/include/jpeglib.h:29,
| #include <jpeglib.h>
configure:30978: checking jpeglib.h presence
In file included from /usr/include/jpeglib.h:29,
| #include <jpeglib.h>
configure:30978: checking for jpeglib.h
configure:30986: checking for jpeg_read_header in -ljpeg
configure:31011: gcc -o conftest  -I/usr/include/freetype2 -I/usr/include/libpng16  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid    -fopenmp -g -O2 -Wall -mtune=core2 -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16   -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16    conftest.c -ljpeg  -lz     -lX11  -lbz2 -lgomp -lm    >&5
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/8/../../../libjpeg.so when searching for -ljpeg
/usr/bin/ld: skipping incompatible //lib/libjpeg.so when searching for -ljpeg
/usr/bin/ld: skipping incompatible //usr/lib/libjpeg.so when searching for -ljpeg
/usr/bin/ld: cannot find -ljpeg
| char jpeg_read_header ();
| return jpeg_read_header ();
In file included from /usr/include/jpeglib.h:29,
| #include <jpeglib.h>
  JPEG v1           --with-jpeg=yes		no (failed tests)
ac_cv_header_jpeglib_h=no
ac_cv_jpeg_version_ok=no
ac_cv_lib_jpeg_jpeg_read_header=no
Any help is appreciated.

Thanks,

Lou

Locked