标签:local make .gz down jpeg install legacy linu pre
需要先安装libpng,libjpeg yum install libpng
yum install libjpeg
wget http://www.imagemagick.org/download/legacy/ImageMagick-6.6.8-10.tar.gz
tar -xzvf ImageMagick-6.6.8-10.tar.gz
./configure –prefix=/usr/local/imagemagick
make
make install
wget http://pecl.php.net/get/imagick-3.1.0RC1.tgz
tar -xzvf imagick-3.1.0RC1
phpize
./configure –with-php-config=/usr/local/php/bin/php-config –with-imagick=/usr/local/imagemagick
make
make install
如果发现库没找到
ranlib /usr/local/lib/libjpeg.so.9
ldconfig /usr/local/lib
参考:http://www.tecmint.com/install-imagemagick-in-linux/
标签:local make .gz down jpeg install legacy linu pre
原文地址:http://www.cnblogs.com/112ba/p/6219345.html