I've installed(not as root user) ImageMagick following below step:
• Create a directory “imagemagic”
• Copy “ImageMagick.tar.gz” to current folder and extract it
• Make sure “ImageMagick-7.0.2-0” directory is created under current directory
• Change the directory to “ImageMagick-7.0.2-0”
• Execute below command
./configure --prefix=/opt/imagemagic
• Execute below command
make
• Execute below command
make install
• Execute below command for validation
/opt/imagemagic/bin/convert logo: logo.gif
• Make sure “logo.gif” should be created in the current directory
while running SNOW Image Resizer Script received following error message.
----------------
identify: no decode delegate for this image format `JPEG' @ error/constitute.c/ReadImage/508.
convert: no decode delegate for this image format `JPEG' @ error/constitute.c/ReadImage/508.
--------------------
While checking server I found, jpeg delegates were missing.
-----------
:/opt/imagemagic/images> /opt/imagemagic/bin/identify -list configure | grep DELEGATES
DELEGATES bzlib mpeg ps
-----------
I've tried installing Jpeg delegates(jpegsr9a.zip) from source by following below step.
---------------
Step 1: Unpack the Download
# unzip jpegsr9a.zip
Step 2: Change Directories
# cd jpeg-9a
Step 3: Configure
# ./configure --prefix=/opt/jpeg
Step 4: Make & Install
# make; make install
Step 5: Update Libraries
# ldconfig
------------------
Once jpeg library is installed tried reinstalling Imagemagick with the following steps.
---------------
$ ./configure LDFLAGS='-L/opt/jpeg/lib -R/opt/jpeg/lib' --with-jpeg --prefix=/opt/imagemagic/
make
make install
-----------
But still showing the following delegates.
-----------------------------------------
:/opt/imagemagic/images> /opt/imagemagic/bin/identify -list configure | grep DELEGATES
DELEGATES bzlib mpeg ps
-----------------------------
Could someone please help me regarding
Installing delegates from source
-
- Posts: 3
- Joined: 2016-06-27T05:24:39-07:00
- Authentication code: 1151
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Installing delegates from source
When installing from source, you need to install all your desired delegate libraries first and then install Imagemagick.
You do not say what platform you are on.
On my Mac, I install all my delegates using MacPorts, then I install IM from source. See viewtopic.php?f=1&t=21502&p=88202&hilit ... rts#p88202
You do not say what platform you are on.
On my Mac, I install all my delegates using MacPorts, then I install IM from source. See viewtopic.php?f=1&t=21502&p=88202&hilit ... rts#p88202
-
- Posts: 3
- Joined: 2016-06-27T05:24:39-07:00
- Authentication code: 1151
Re: Installing delegates from source
I use suse linux.
---------------------
# cat /etc/*release*
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 4
LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64"
------------------------------------
---------------------
# cat /etc/*release*
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 4
LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64"
------------------------------------
-
- Posts: 3
- Joined: 2016-06-27T05:24:39-07:00
- Authentication code: 1151
Re: Installing delegates from source
I've followed the steps below.
zlib:
:/opt/software/zlib-1.2.8> ./configure --prefix=/opt/extra/
make
make install
------------
png:
:/opt/software/libpng-1.6.23> ./configure --prefix=/opt/extra/ CPPFLAGS='-I/opt/extra/include' LDFLAGS='-L/opt/extra/lib'
make
make install
------------
jpeg:
:/opt/software/jpeg-9a> ./configure --prefix=/opt/extra/
make
make install
-----------------------
and tried configuring Imagemagick.
------------------------------------------
./configure CPPFLAGS='-I/opt/extra/include' LDFLAGS='-L/opt/extra/lib' --enable-delegate-build --enable-shared --disable-static --with-modules --with-quantum-depth=16 --disable-silent-rules --disable-dependency-tracking --prefix=/opt/imagemagick
and once I execute 'make' received following error.
------------
libtool: link: gcc -std=gnu99 -std=gnu99 -shared -fPIC -DPIC coders/.libs/coders_aai_la-aai.o -Wl,-rpath -Wl,/opt/software/ImageMagick-7.0.2-0/MagickCore/.libs -Wl,-rpath -Wl,/opt/extra/lib -Wl,-rpath -Wl,/opt/ImageMagick/lib -Wl,-rpath -Wl,/opt/extra/lib -L/opt/extra/lib MagickCore/.libs/libMagickCore-7.Q16HDRI.so /opt/extra/lib/libjpeg.so -lpng15 -lfontconfig -lfreetype -lX11 -lz -lm -lgomp -g -O2 -mpentiumpro -pthread -pthread -fopenmp -Wl,-soname -Wl,aai.so -Wl,-version-script -Wl,coders/.libs/aai.ver -o coders/.libs/aai.so
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: cannot find -lpng15
collect2: ld returned 1 exit status
make[1]: *** [coders/aai.la] Error 1
make[1]: Leaving directory `/opt/software/ImageMagick-7.0.2-0'
make: *** [all] Error 2
-----------
zlib:
:/opt/software/zlib-1.2.8> ./configure --prefix=/opt/extra/
make
make install
------------
png:
:/opt/software/libpng-1.6.23> ./configure --prefix=/opt/extra/ CPPFLAGS='-I/opt/extra/include' LDFLAGS='-L/opt/extra/lib'
make
make install
------------
jpeg:
:/opt/software/jpeg-9a> ./configure --prefix=/opt/extra/
make
make install
-----------------------
and tried configuring Imagemagick.
------------------------------------------
./configure CPPFLAGS='-I/opt/extra/include' LDFLAGS='-L/opt/extra/lib' --enable-delegate-build --enable-shared --disable-static --with-modules --with-quantum-depth=16 --disable-silent-rules --disable-dependency-tracking --prefix=/opt/imagemagick
and once I execute 'make' received following error.
------------
libtool: link: gcc -std=gnu99 -std=gnu99 -shared -fPIC -DPIC coders/.libs/coders_aai_la-aai.o -Wl,-rpath -Wl,/opt/software/ImageMagick-7.0.2-0/MagickCore/.libs -Wl,-rpath -Wl,/opt/extra/lib -Wl,-rpath -Wl,/opt/ImageMagick/lib -Wl,-rpath -Wl,/opt/extra/lib -L/opt/extra/lib MagickCore/.libs/libMagickCore-7.Q16HDRI.so /opt/extra/lib/libjpeg.so -lpng15 -lfontconfig -lfreetype -lX11 -lz -lm -lgomp -g -O2 -mpentiumpro -pthread -pthread -fopenmp -Wl,-soname -Wl,aai.so -Wl,-version-script -Wl,coders/.libs/aai.ver -o coders/.libs/aai.so
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: cannot find -lpng15
collect2: ld returned 1 exit status
make[1]: *** [coders/aai.la] Error 1
make[1]: Leaving directory `/opt/software/ImageMagick-7.0.2-0'
make: *** [all] Error 2
-----------