Page 1 of 2
ImageMagick with liblqr
Posted: 2018-06-04T04:12:24-07:00
by sdbhabal
Hellow Experts,
I wanted to install
ImageMagick with
liblqr on
Centos 7.
I have followed below URL to install
ImageMagick.
http://www.tecmint.com/install-imagemagick-in-linux/
When I execute below command the output is like:
[root@localhost ~]# convert -list configure | grep -i "delegates"
DELEGATES bzlib fontconfig freetype gs jpeg jng jp2 lzma openexr pango png rsvg tiff x11 xml wmf zlib
[root@localhost ~]#
Output does not include
liblqr in the list.
Dont know what I am missing here.
Please help.
Re: ImageMagick with liblqr
Posted: 2018-06-04T04:35:00-07:00
by Bonzo
What version did you install?
Re: ImageMagick with liblqr
Posted: 2018-06-04T06:00:15-07:00
by sdbhabal
[root@localhost ~]# rpm -qa | grep -i image
ImageMagick-6.7.8.9-15.el7_2.x86_64
ImageMagick-devel-6.7.8.9-15.el7_2.x86_64
[root@localhost ~]#
Re: ImageMagick with liblqr
Posted: 2018-06-04T06:22:19-07:00
by snibgo
V6.7.8 is very old. I suggest you install a more recent version.
Re: ImageMagick with liblqr
Posted: 2018-06-04T07:42:25-07:00
by sdbhabal
It looks like by default yum repository installs V6.7.8
BTW what is the latest version?
Re: ImageMagick with liblqr
Posted: 2018-06-04T07:52:15-07:00
by snibgo
The current versions are v6.9.9-50 and v7.0.7-38.
Re: ImageMagick with liblqr
Posted: 2018-06-04T07:56:19-07:00
by sdbhabal
So I have removed V6.7.8 & installed V7.0.7-38 now.
Still the output of below command does not include liblqr:
[root@localhost ~]# convert -list configure | grep -i "delegates"
DELEGATES bzlib djvu mpeg fftw fpx fontconfig freetype gslib jbig jng jpeg lcms lzma openexr openjp2 pango png ps rsvg tiff webp wmf x xml zlib
[root@localhost ~]#
Re: ImageMagick with liblqr
Posted: 2018-06-04T08:08:19-07:00
by snibgo
I don't know your build process. If you build from source, and you haven't already installed liblqr, that's the problem. Have you looked in config.log to see what it says about lqr?
Re: ImageMagick with liblqr
Posted: 2018-06-04T08:10:09-07:00
by sdbhabal
I have installed ImageMagick using RPM.
Re: ImageMagick with liblqr
Posted: 2018-06-04T10:13:31-07:00
by fmw42
Include --with-lqr in your ./configuration file when compiling ImageMagick from source
Re: ImageMagick with liblqr
Posted: 2018-06-04T21:18:32-07:00
by sdbhabal
You mean, I need to compile ImageMagick from source.
Installing ImageMagick using yum repo does not contain liblqr support right?
Re: ImageMagick with liblqr
Posted: 2018-06-06T00:15:56-07:00
by sdbhabal
As per your suggestion, I have compiled ImageMagick from source using below command.
# ./configure --with-lqr=yes
# make
# make install
But still liblqr is missing.
[root@localhost ImageMagick-master]# convert -list configure | grep -i "delegates"
DELEGATES bzlib mpeg fftw fontconfig freetype jng jpeg lzma pango png ps tiff wmf x xml zlib
[root@localhost ImageMagick-master]#
Please help.
Re: ImageMagick with liblqr
Posted: 2018-06-06T00:27:43-07:00
by snibgo
sdbhabal wrote:./configure --with-lqr=yes
Open config.log in a text editor and search for lqr. This will tell you what package what searched for, whether it was found, and so on.
Re: ImageMagick with liblqr
Posted: 2018-06-06T02:24:54-07:00
by sdbhabal
Below is the log related to lqr in config.log file:
[root@localhost ImageMagick-master]# grep -i 'lqr' config.log
$ ./configure --with-lqr=yes
configure:32038: checking for LQR
configure:32045: $PKG_CONFIG --exists --print-errors "lqr-1 >= 0.1.0"
Package lqr-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lqr-1.pc'
No package 'lqr-1' found
configure:32062: $PKG_CONFIG --exists --print-errors "lqr-1 >= 0.1.0"
Package lqr-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lqr-1.pc'
No package 'lqr-1' found
No package 'lqr-1' found
LQR --with-lqr=yes no
ac_cv_env_LQR_CFLAGS_set=
ac_cv_env_LQR_CFLAGS_value=
ac_cv_env_LQR_LIBS_set=
ac_cv_env_LQR_LIBS_value=
CONFIGURE_ARGS='./configure '\''--with-lqr=yes'\'''
LQR_CFLAGS=''
LQR_DELEGATE_FALSE=''
LQR_DELEGATE_TRUE='#'
LQR_LIBS=''
[root@localhost ImageMagick-master]#
Please check.
Re: ImageMagick with liblqr
Posted: 2018-06-06T10:51:31-07:00
by fmw42
Correct syntax is just
./configure --with-lqr
The "with" means to include it as opposed to "without"