Compiling ImageMagick with jpeg delegate

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?".
Post Reply
athmi100
Posts: 1
Joined: 2016-10-04T08:29:52-07:00
Authentication code: 1151

Compiling ImageMagick with jpeg delegate

Post by athmi100 » 2016-10-04T08:33:04-07:00

I am unable to compile ImageMagick with the JPEG delegate. Specifically, when I run the configure script:

Code: Select all

 ./configure --enable-bounds-checking --enable-efence --with-jpeg 
I get the following output:

Code: Select all

checking jpeglib.h usability... yes
checking jpeglib.h presence... yes 
checking for jpeglib.h... yes
checking for jpeg_read_header in -ljpeg... no
  JPEG v1           --with-jpeg=yes             no (failed tests)
I don't understand this failure. I have the the libjpeg-dev library which I installed using:

Code: Select all

sudo apt-get install libjpeg-dev

Post Reply