>>117
環境がわからないけど
# apt-get install libpng-devel
でどうかな?