libpngインストール手順

http://www.libpng.org/pub/png/libpng.html
より、ソースをダウンロード。

# tar zxvf libpng-1.2.12-no-config.tar.gz
# cd libpng-1.2.12
# cp scripts/makefile.linux Makefile
Makefileの内容を以下に書き換える
ZLIBLIB=/usr/local/lib
ZLIBINC=/usr/local/include
# make
# make install

参考サイト
http://www.hizlab.net/app/install/gd.html

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です