WEB & WAS/PHP

PHP 설치시 오류 모음집

서버엔지니어 2023. 3. 17.
728x90

PHP 각오류 날시 경우들


configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.
Fix: yum install net-snmp-devel

configure: error: DBA: Could not find necessary header file(s)
일반적으로
# yum install gdbm gdbm-devel
이면 해결되지만 계속해서 나는 경우
# yum install libdb-devel              해준다.

configure: error: DBA: Could not find necessary library.
# ln -s /usr/lib64/libgdbm_compat.so /usr/local/lib64/libdbm.so

checking for DB4 major version... configure: error: Header contains different version.
# yum install db4 db4-devel
없다고 뜰 경우
# yum install epel-release
# yum install db4 db4-devel

configure: error: mcrypt.h not found. Please reinstall libmcrypt.
# wget http://app.nidc.kr/linux/lib/libmcrypt-2.5.8.tar.gz
# tar xvfz libmcrypt-2.5.8.tar.gz
# cd tar xvfz libmcrypt-2.5.8
# ./configure && make && make install
# echo "/usr/local/lib" >> /etc/ld.so.conf
# ldconfig

configure: error: Cannot find libtidy
# yum install libtidy libtidy-devel
안될 경우
# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

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

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

configure: error: libjpeg.(a|so) not found. 
yum install libjpeg-devel 

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

configure: error: freetype.h not found. 
yum 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 install libc-client-devel 

configure: error: Kerberos libraries not found. 
yum install krb5-devel 

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

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++

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 /include/curl/
# 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

댓글