- Tar-xzvf tiff-3.8.0.tar.gz
- Cd tiff-3.8.0
- ./Configure
- Make
- Make install
-
After the installation is complete, process the image in the command line and report the following error: libtiff. so.3: cannot open shared object file: No such file or directory. this module is also unavailable and may not be installed. 3. install the jasper package: http://www.ece.uvic.ca /~ After mdadams/jasper/is installed, you can process the image in the. jp2. j2c format (the file extension is. jp2. j2c)
- Unzip jasper-1.900.1.zip
- Cdjasper-1.900.1
- CFLAGS =-fPIC./configure
- Make CFLAGS =-fPIC
- Make CFLAGS =-fPIC install
4. install jpeg package: 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
5. install zlib http://zlib.net/zlib-1.2.7.tar.gz
- Cd/disk/src
- Tar-xzf ../soft/zlib-1.2.7.tar.gz
- Cd zlib-1.2.7
- ./Configure
- Make & make install
6. install png: 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
7. install freetype: 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
8. install ImageMagick
# Declaring a 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-lltdl
- Collect2: ld returned 1 exit status
- Libtool: install: error: relink 'magick/libMagickCore. La' with the above command before installing it
- Make [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
Solution: usr/bin/ld: cannot find Solution 2. binary RPM installation 1. uninstall and install:
- Yum install ImageMagick-devel
If it has been installed, run the following uninstall command first. I have installed version 6.2.8, so 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
Uninstall: yum erase ImageMagick or yum remove ImageMagick. 2. install the basic Library
- Yum install libtool-ltdl-devel 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-libs jasper-devel
3. install ImageMagick-6.8.0-0.x86_64.rpm : 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
Error:
- Yum install -- nogpgcheck ImageMagick-6.8.0-0.x86_64.rpm
4. Check installation results
[Root @ jbxue soft] # convert -- version
Version: ImageMagick 6.8.0-0 2012-10-11q16 http://www.imagemagick.org
- Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
- Features: OpenMP
3. Reference http://www.imagemagick.org/script/download.phphttp://www.imagemagick.org/script/index.php |