Live Brilliant

php 컴파일시 에러 해결책 본문

개발은 핵찜이야/리눅스

php 컴파일시 에러 해결책

주인정 2012. 4. 18. 10:14
php 컴파일 시 나오는 configure error 해결방법입니다.


configure: error: xml2-config not found. Please check your libxml2 installation
#yum install libxml2 libxml2-devel -y


configure: error: libpng.(a|so) not found.
#yum -y install libpng-devel


configure: error: Cannot find OpenSSL's <evp.h>
# yum -y install openssl-devel


configure: error: Please reinstall the BZip2 distribution
# yum -y install bzip2-devel


configure: error: libjpeg.(a|so) not found.
# yum -y install libjpeg-devel
> yum install gd gd-devel
> ln -s /usr/lib64/libjpeg.so /usr/lib/libjpeg.so
> ln -s /usr/lib64/libpng.so /usr/lib/libpng.so

configure: error: freetype.h not found.
# yum -y install freetype-devel


configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
# yum -y install libc-client-devel

 

Comments