PHP설치 오류 리스트
PHP 5.2.6 configure 시 오류
오류 메세지 : configure: error: xml2-config not found. Please check your libxml2 installation
해결 방법 : yum install libxml2 libxml2-devel -y
오류 메세지 : configure: error: Please reinstall the BZip2 distribution
해결 방법 : yum -y install bzip2-devel
오류 메세지 : configure: error: libjpeg.(a|so) not found.
해결 방법 : yum -y install libjpeg-devel
오류 메세지 : configure: error: libpng.(a|so) not found.
해결 방법 : yum -y install libpng-devel
오류 메세지 : 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
오류 메세지 : configure: error: Kerberos libraries not found.
해결 방법 : yum -y install krb5-devel
오류 메세지 : configure: error:Cannot find OpenSSL's <evp.h>
해결 방법 : yum -y install openssl-devel
[출처] 박한범님의 이글루 | 박한범 ( http://kese111.egloos.com/1111146 )
===============================================================
make: warning: Clock skew detected. Your build may be incomplete.
시간을 동기화 시킨다.
checking for termcap functions library... configure: error: No curses/termcap library found
해결책 : # yum -y install ncurses-devel
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
해결책 : # yum -y install gcc-c++
/usr/lib/libdb-4.3.so: could not read symbols: File in wrong format
/usr/lib/libexpat.so: could not read symbols: File in wrong format
해결책 : # mv /usr/lib/libexpat.so /usr/lib/libexpat.so.bak
# ln -s /lib64/libexpat.so.0.5.0 /usr/lib/libexpat.so
# mv /usr/lib/libdb-4.3.so /usr/lib/libdb-4.3.so.bak
# ln -s /lib64/libdb-4.3.so /usr/lib/libdb-4.3.so
에러의 원인은 64비트 환경에서 32비트용 소스를 가져다가 설치하기 때문이다. 컴파일 도구와 관련된 심볼릭 링크 파일을 찾지 못한다고 나오고 있다.
configure: error: Unable to locate gmp.h
해결책 : # yum -y install gmp*
configure: error: not found. Please reinstall the expat distribution.
해결책 : # yum -y install expat*
configure: error: Please reinstall the libcurl distribution - easy.h should be in
해결책 : # yum -y install curl* 또는 yum -y install curl & yum -y install curl-devel
configure: error: Please reinstall libmcrypt - I cannot find mcrypt.h <br>
configure: error: Please reinstall libmhash - I cannot find mhash.h
해결책 : # yum install libmcrypt libmcrypt-devel libmhash libmhash-devel
Configure: error: xml2-config not found. Please check your libxml2 installation
해결책 : #yum install libxml2-devel
Checking for pkg-config... /usr/bin/pkg-config
configure: error: Cannot find OpenSSL's <evp.h>
해결책 : #yum install openssl-devel
Configure: error: Please reinstall the BZip2 distribution
해결책 : # yum install bzip2-devel
Configure: error: libjpeg.(also) not found.
해결책 : # yum install libjpeg-devel
Configure: error: libpng.(also) not found.
해결책 : yum install libpng-devel
Configure: error: freetype.h not found.
해결책 : #yum install freetype-devel
Configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!
해결책 : # yum install mysql-devel
Configure: error: Please reinstall the ncurses distribution
해결책 : # yum install ncurses-devel
Checking for unixODBC support... configure: error: ODBC header file '/usr/include/sqlext.h' not found!
해결책 : # yum install unixODBC-devel
Configure: error: Cannot find pspell
해결책 : # yum install pspell-devel
Configure: error: snmp.h not found. Check your SNMP installation.
# yum install net-snmp-devel
configure: error: ZLIB extension requires zlib >= 1.0.9
ln -sf /usr/lib64/libgssapi_krb5.so.2.2 /usr/lib/libgssapi_krb5.so
ln -sf /usr/lib64/libkrb5.so.3.3 /usr/lib/libkrb5.so
ln -sf /usr/lib64/libk5crypto.so.3.1 /usr/lib/libk5crypto.so
ln -sf /lib64/libcom_err.so.2 /usr/lib/libcom_err.so
ln -sf /usr/lib64/libgcrypt.so.11 /usr/lib/libgcrypt.so
ln -sf /usr/lib64/libgpg-error.so.0 /usr/lib/libgpg-error.so
ln -sf /usr/lib64/libexpat.so /usr/lib/libexpat.so
ln -sf /usr/lib64/libm.so /usr/lib/libm.so
ln -sf /usr/lib64/libssl.so /usr/lib/libssl.so
[출처] http://ysy2080.com/uribury/linuxno1/1369
'리눅스 > PHP' 카테고리의 다른 글
로그인 세션 유지시간 설정 (0) | 2015.01.16 |
---|---|
쉘에서 php 실행하기 (0) | 2015.01.16 |
PHP설치시 오류 > make: *** [libphp5.la] 오류 1 (0) | 2015.01.16 |
FreeTDS 설치 (PHP와 MS-SQL 연동) (0) | 2015.01.16 |
libphp4.so: cannot restore segment prot after reloc: Permission denied (0) | 2015.01.16 |