Debian php build errors

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Debian php build errors and solutions


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

# apt-get install libxml2 libxml2-dev


configure: error: Cannot find OpenSSL's libraries

# apt-get install libssl-dev

и добавить опцию конфигурирования:

--with-libdir=/lib/x86_64-linux-gnu


configure: error: Please reinstall the BZip2 distribution

# apt-get install libbz2-dev


checking for cURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/

# apt-get install libcurl4-openssl-dev


configure: error: jpeglib.h not found.

# apt-get install libjpeg-dev


configure: error: png.h not found.

# apt-get install libpng12-dev


configure: error: freetype.h not found.

# apt-get install libfreetype6-dev


configure: error: mcrypt.h not found. Please reinstall libmcrypt.

# apt-get install libmcrypt-dev


checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore!

# apt-get install libmysqlclient-dev