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
'WEB & WAS > PHP' 카테고리의 다른 글
PHP curl 모듈에 openssl 연동 (0) | 2023.03.26 |
---|---|
phpmysql 연동 php파일 (0) | 2023.03.17 |
php.ini 설정 (0) | 2023.03.17 |
CentOS 7 PHP 8.2.33 소스 컴파일 설치 (현재 8.2.4 23/03/17) (0) | 2023.03.17 |
CentOS 7 PHP 8.1.33 소스 컴파일 설치 (현재 8.1.17 23/03/17) (0) | 2023.03.17 |
댓글