解决configure: error: libpng.(a|so) not found.

 

yum install libpng libpng-devel

 

# ln -s /usr/lib64/libjpeg.so /usr/lib/
# ln -s /usr/lib64/libpng.so /usr/lib/