+ Processing images, error: libtiff.so.3: cannot open shared object file: No such file or directory
This module is not used and does not need to be installed.
3. Install jasper package:
Download address: http://www.ece.uvic.ca/~mdadams/jasper/
Only JPEG2000 format images can be processed after installation (the file extension is .jp2 .j2c)
-
-
-
-
- unzip jasper-1.900.1.zip
- cd jasper-1.900.1
- CFLAGS=-fPIC ./configure
make CFLAGS=-fPIC make CFLAGS=-fPIC install
Copy code
4. Install jpeg package
Download address: http://www.ijg.org/files/jpegsrc.v6b.tar.gz
-
- #Install jpeg
- cd /disk/src
- tar -xzf ../soft/jpegsrc.v6b.tar.gz
- cd jpeg-6b/
- ./configure
make && make install
copy Code
5. Install zlib
Download address http://zlib.net/zlib-1.2.7.tar.gz
-
-
- cd /disk/src
- tar -xzf ../soft/zlib-1.2.7.tar.gz
- cd cd zlib-1.2.7
- ./configure
- make && make install
copy Code
6, install png
Download address: http://www.libpng.org/pub/png/pngcode.html
-
-
wget ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.2.50.tar.gz
cd / disk/src
- tar -xzf ../soft/libpng-1.2.50.tar.gz
- cd libpng-1.2.50
cp scripts/makefile.std makefile make make install
copy Code
7. Install freetype
download link:
http://www.freetype.org/
http://download.savannah.gnu.org/releases/freetype/freetype-2.4.9.tar.gz
-
-
-
-
-
- cd /disk/src
- tar -xzf ../soft/freetype-2.4.9.tar.gz
- cd freetype-2.4.9
- ./configure
- make
make install
Copy code
8. Install ImageMagick
-
-
-
#Declare 64-bit environment
- export CFLAGS='-fPIC'
- tar -xzf ../soft/ImageMagick-6.8.0-0.tar.gz
- cd ImageMagick-6.8. 0-0/
./configure --with-quantum-depth=8 --enable-share --enable-static make all make install/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread /usr/bin/ld: cannot find -lltdlcollect2: ld returned 1 exit status libtool: install: error: relink `magick/libMagickCore.la' with the above command before installing itmake[2]: *** [install-libLTLIBRARIES] Error 1 make[2]: Leaving directory `/disk/src/ImageMagick-6.8.0-0' install: error: relink `magick/libMagickCore.la' with the above command before installing it /usr/bin/ld: cannot find -lltdl
-
-
-
- Copy code
-
-
- Solution:
usr/bin/ld: cannot find error solution
2. Binary RPM installation
-
- 1. Uninstall first and then install
Install:
-
-
-
-
-
- yum install ImageMagick ImageMagick-devel
-
-
Copy code
If it has been installed, execute the uninstall command below first. I have installed version 6.2.8, so I need to uninstall it first.
[root@jbxue soft]# convert --version Version: ImageMagick 6.2.8 05/07/12 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html Copyright : Copyright (C) 1999-2006 ImageMagick Studio LLC- [root@jbxue soft]# rpm -qa| grep ImageMagick
- ImageMagick-devel-6.2.8.0-15.el5_8
ImageMagick-6.2.8.0-15.el5_8 ImageMagick- devel-6.2.8.0-15.el5_8 ImageMagick-6.2.8.0-15.el5_8
Copy code
Uninstall: yum erase ImageMagick or yum remove ImageMagick.
- 2. Install basic libraries
-
-
-
-
-
- yum install libtool-ltdl libtool-ltdl-devel freetype freetype-devel fontconfig-devel
- wget http://centos.ustc.edu.cn/epel/5/x86_64/epel-release-5-4 .noarch.rpm
- rpm -Uvh epel-release-5-4.noarch.rpm
yum --enablerepo=epel install jasper jasper-libs jasper-devel
Copy code
3. Install ImageMagick-6.8.0-0.x86_64.rpm
Download address:
http://www.imagemagick.org/script/binary-releases.php#unix
-
-
wget ftp://ftp.imagemagick.org/pub/ImageMagick/linux/CentOS/x86_64/ImageMagick-6.8.0-0.x86_64.rpm
- wget ftp://ftp .imagemagick.org/pub/ImageMagick/linux/CentOS/x86_64/ImageMagick-devel-6.8.0-0.x86_64.rpm
rpm -Uvh ImageMagick-6.8.0-0.x86_64. rpm
-
Copy code
An error occurred:
-
- yum install --nogpgcheck ImageMagick-6.8.0-0.x86_64.rpm
Copy the code
4. Check the installation results
-
-
[root@jbxue soft]# convert --version
Version: ImageMagick 6.8.0-0 2012-10-11 Q16 http://www .imagemagick.org
- Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
- Features: OpenMP
-
Copy code
3. References
http://www.imagemagick.org/script/download.php
http://www.imagemagick.org/script/index.php
|