OS

2022.02.14 16:27

php 컴파일시 의존성 오류 처리

  • 비아웹 오래 전 2022.02.14 16:27 인기
  • 4,476
    0

php compile 시 의존성 오류 대처법

configure: error: xml2-config not found. Please check your libxml2 installation.

[root@viaweb php-5.3.3]# yum install libxml2-devel

checking for PCRE headers location... configure: error: Could not find pcre.h in /usr

[root@viaweb php-5.3.3]# yum install pcre-devel

configure: error: Please reinstall the BZip2 distribution

[root@viaweb php-5.3.3]# yum install bzip2-devel

configure: error: Please reinstall the libcurl distribution -

easy.h should be in <curl-dir>/include/curl/

[root@viaweb php-5.3.3]# yum install libcurl-devel

configure: error: libXpm.(a|so) not found.

[root@viaweb php-5.3.3]# yum install libXpm-devel

configure: error: freetype.h not found.

[root@viaweb php-5.3.3]# yum install freetype-devel

configure: error: Unable to locate gmp.h

[root@viaweb php-5.3.3]# yum install gmp-devel

configure: error: Cannot find MySQL header files under yes.

Note that the MySQL client library is not bundled anymore!

[root@viaweb php-5.3.3]# yum iyum install mysql-devel

checking for unixODBC support... configure: error: ODBC header file '/usr/include/sqlext.h' not found!

[root@viaweb php-5.3.3]# yum install unixODBC-devel

감사합니다.

서버호스팅 비아웹

 

  • 공유링크 복사