- TAR-XZVF tiff-3.8.0.tar.gz
- CD tiff-3.8.0
- ./configure
- Make
- Make install
Copy CodeAfter I install, I process the picture on the command line, error: Libtiff.so.3:cannot open Shared object file:no such file or directory This module is also not available, can not be installed. 3, install Jasper Package: Download Address: http://www.ece.uvic.ca/~mdadams/jasper/After installation to process the JPEG2000 format picture (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 Code4. Install JPEG package download address: http://www.ijg.org/files/jpegsrc.v6b.tar.gz
- #安装jpeg
- Cd/disk/src
- Tar-xzf. /soft/jpegsrc.v6b.tar.gz
- CD jpeg-6b/
- ./configure
- Make && make install
Copy Code5. 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 Code6. 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 Code7. Installation FreeType Download Address: 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 Code8, installation ImageMagick
#宣告64位环境
- 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
Copy CodeWorkaround: Workaround for Usr/bin/ld:cannot find error two or two binary RPM installation 1, first uninstall after installation installation:
- Yum Install ImageMagick Imagemagick-devel
Copy CodeIf it is already installed, perform the following uninstall command first, I have installed the 6.2.8 version, 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
Copy CodeUninstall: Yum Erase ImageMagick or yum remove ImageMagick. 2. Install the base library
- 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 Code3, Installation 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 CodeError occurred:
- Yum Install--nogpgcheck imagemagick-6.8.0-0.x86_64.rpm
Copy Code4. Test the installation result
[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 CodeThird, reference http://www.imagemagick.org/script/download.phphttp://www.imagemagick.org/script/index.php |