Page 1 of 1

error compiling imagemagick: libjpeg.la is not a valid libtool archive

Posted: 2014-11-13T03:37:31-07:00
by marisaugr
Helo,

I'm trying compiling ImageMagick-6.8.9-10 in an Intel Solaris 10.

./configure runs without problems

When I try execute the make command, I get this error:

CCLD magick/libMagickCore-6.Q16.la
grep: can't open "/usr/local/lib/libjpeg.la"
Can't open /usr/local/lib/libjpeg.la
libtool: link: `/usr/local/lib/libjpeg.la' is not a valid libtool archive
*** Error code 1
The following command caused the error:
echo " CCLD " magick/libMagickCore-6.Q16.la;/bin/bash ./libtool --silent --tag=CC --
mode=link gcc -std=gnu99 -std=gnu99 -I/usr/sfw/include -I/usr/sfw/include/freetype2 -g -O2 -Wall
-march=pentium-m -fexceptions -D_REENTRANT -pthreads -DMAGICKCORE_HDRI_ENABLE=0 -
DMAGICKCORE_QUANTUM_DEPTH=16 -no-undefined -version-info 2:0:0 -Wl,-zlazyload -
L/usr/local/lib -o magick/libMagickCore-6.Q16.la -rpath /usr/local/lib
magick/magick_libMagickCore_6_Q16_la-accelerate.lo magick/magick_libMagickCore_6_Q16_la-
animate.lo magick/magick_libMagickCore_6_Q16_la-annotate.lo
magick/magick_libMagickCore_6_Q16_la-artifact.lo magick/magick_libMagickCore_6_Q16_la-
attribute.lo magick/magick_libMagickCore_6_Q16_la-blob.lo magick/magick_libMagickCore_6_Q16_la-
cache.lo magick/magick_libMagickCore_6_Q16_la-cache-view.lo

Any ideas why this error raises?

Thanks in advance.