I downloaded the OpenJPEG2 delegate from https://github.com/uclouvain/openjpeg and installed it to /usr, Downloaded the latest ImageMagick and when I run ./configure I get the following:
Code: Select all
Delegate Library Configuration:
BZLIB --with-bzlib=yes yes
Autotrace --with-autotrace=no no
DJVU --with-djvu=yes no
DPS --with-dps=yes no
FFTW --with-fftw=yes no
FlashPIX --with-fpx=yes no
FontConfig --with-fontconfig=yes no
FreeType --with-freetype=yes yes
Ghostscript lib --with-gslib=no no
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes yes
JPEG v1 --with-jpeg=yes yes
LCMS --with-lcms=yes no
LQR --with-lqr=yes no
LTDL --with-ltdl=yes no
LZMA --with-lzma=yes yes
Magick++ --with-magick-plus-plus=yes yes
OpenEXR --with-openexr=yes no
OpenJP2 --with-openjp2=yes no
PANGO --with-pango=yes no
PERL --with-perl=no no
PNG --with-png=yes yes
RAQM --with-raqm=yes no
RSVG --with-rsvg=no no
TIFF --with-tiff=yes yes
WEBP --with-webp=yes yes
WMF --with-wmf=yes yes
X11 --with-x= yes
XML --with-xml=yes yes
ZLIB --with-zlib=yes yes
Code: Select all
OpenJP2 --with-openjp2=yes no
In the config.log file I see the following:
configure:32568: checking for LIBOPENJP2
configure:32575: $PKG_CONFIG --exists --print-errors "libopenjp2 >= 2.1.0"
Requested 'libopenjp2 >= 2.1.0' but version of openjp2 is 2.0.0
You may find new versions of openjp2 at http://www.openjpeg.org/
I am not sure where it got that idea as I can see:
Code: Select all
ls -l /usr/lib/libopenjp2*
lrwxrwxrwx 1 ubuntu ubuntu 15 Apr 29 2014 /usr/lib/libopenjp2.so -> libopenjp2.so.7
-rw-r--r-- 1 ubuntu ubuntu 255731 Mar 27 10:41 /usr/lib/libopenjp2.so.2.1.0
lrwxrwxrwx 1 ubuntu ubuntu 19 Apr 29 2014 /usr/lib/libopenjp2.so.7 -> libopenjp2.so.2.1.0
Please can someone explain how can I install ImageMagick with OpenJP2 support on Ubuntu 14.04?