Subject: bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick'

From: Jean Louis <[email-masked]>
Date: Mon, 24 Jul 2017 18:19:26 +0300

Hello,

Thank you. There are many strings with magick
inside. Please let me know could it be this
undefined reference and ld returned 1 exit status
below?

Jean Louis

*configure:12013: checking for IMAGEMAGICK
*configure:12020: $PKG_CONFIG --exists --print-errors "$IMAGEMAGICK_MODULE"
 configure:12023: $? = 0
*configure:12037: $PKG_CONFIG --exists --print-errors "$IMAGEMAGICK_MODULE"
 configure:12040: $? = 0
 configure:12078: result: yes
*configure:12093: checking for MagickRelinquishMemory
 configure:12093: gcc -o conftest  -g3 -O2 -pthread -isystem /usr/include/librsvg-2.0 -isystem /u sr/include/gdk-pixbuf-2.0 -isystem /usr/include/libpng16 -isystem /usr/include/cairo -isystem /u sr/include/pixman-1 -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr /include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/l*ib/glib-2.0/include -isystem /usr/include/libpng16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKC*ORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -isystem */usr/include/ImageMagick-6 -isystem /package/graphics/ImageMagick-7.0.6-0/include/ImageMagick-7 *      conftest.c -L/package/graphics/ImageMagick-7.0.6-0/lib -lMagickWand-6.Q16HDRI -lMagickCore*-7.Q16HDRI -lX11   >&5 
*/package/graphics/ImageMagick-7.0.6-0/lib/libMagickCore-7.Q16HDRI.so: undefined reference to `Pi*xelSetPixelColor'
 collect2: error: ld returned 1 exit status
 configure:12093: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "GNU Emacs"

On Mon, Jul 24, 2017 at 05:25:20PM +0300, Eli Zaretskii wrote:
> > Date: Mon, 24 Jul 2017 11:10:07 +0300
> > From: Jean Louis <[email-masked]>
> > Cc: [email-masked], Jean Louis <[email-masked]>
> > 
> > In regards to imagemagick, I do not know why it is
> > not recognized. I do have all required libraries,
> > and it was being recognized before months without
> > problems. 
> 
> You should be able to get at least some hint by looking at config.log,
> where it tests for ImageMagick.  You will probably see some failed
> test there, and the error message(s) might provide a clue about what's
> wrong.