6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ImageMagickのアップデート

Posted at

ImageMagickのアップデートでちょこっとハマったのでメモ。

前提

  • Centos5.6 (64bit)
  • 既に古いImageMagick(6.5)がインストールされている(build from source)

手順

cd {古いImageMagickのソースディレクトリ}
sudo make uninstall

sudo wget http://www.imagemagick.org/download/ImageMagick.tar.gz
sudo tar xzf ImageMagick.tar.gz
cd ImageMagick-6.8.9-0/
sudo ./configure
sudo make
sudo make install
sudo /sbin/ldconfig

ポイント

  • 古いものをunisntallしないと、pythonのWandライブラリが新しいほうを認識してくれなかった。

その他

pngを扱わせるには

sudo yum install libpng-devel
6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?