lamp is a very useful deployment tool.
However, the following error is displayed during the installation process.
How to troubleshoot and handle it?
Configuring extensions
checking for io.h... no
checking for strtoll... yes
checking for atoll... yes
checking whether to build with LIBXML support... yes
checking for libxml-2.0 >= 2.9.0... yes
checking for OpenSSL support... yes
checking for Kerberos support... yes
checking whether to use system default cipher list instead of hardcoded value... no
checking for krb5-gssapi krb5... yes
checking for openssl >= 1.0.2... yes
checking for RAND_egd... no
checking for PCRE library to use... bundled
checking whether to enable PCRE JIT functionality... yes
checking whether Intel CET is enabled... no
checking whether to enable the SQLite3 extension... yes
checking for sqlite3 >= 3.7.7... yes
checking for sqlite3_errstr in -lsqlite3... yes
checking for sqlite3_expanded_sql in -lsqlite3... yes
checking for sqlite3_load_extension in -lsqlite3... yes
checking for ZLIB support... yes
checking for zlib >= 1.2.0.4... yes
checking whether to enable bc style precision math functions... yes
checking for BZip2 support... yes
checking for BZip2 in default path... found in /usr
checking for BZ2_bzerror in -lbz2... yes
checking whether to enable calendar conversion support... yes
checking whether to enable ctype functions... yes
checking for cURL support... yes
checking for libcurl >= 7.29.0... yes
checking for SSL support in libcurl... yes
checking for libcurl linked against old openssl... no
checking for curl_easy_perform in -lcurl... yes
checking for QDBM support... no
checking for GDBM support... no
checking for NDBM support... no
checking for TCADB support... no
checking for LMDB support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DB1 support... no
checking for DBM support... no
checking for CDB support... builtin
checking for INI File support... builtin
checking for FlatFile support... builtin
checking whether to enable DBA interface... yes
checking whether to enable dl-test extension... no
checking whether to enable DOM support... yes
checking for libxml-2.0 >= 2.9.0... yes
checking whether to build with Enchant support... yes
checking for enchant-2... yes
checking whether to enable EXIF (metadata from images) support... yes
checking for FFI support... no
checking for fileinfo support... yes
checking for strcasestr... yes
checking for utimes... yes
checking for strndup... yes
checking whether to enable input filter support... yes
checking whether to enable FTP support... yes
checking whether to explicitly enable FTP SSL support... no
checking for openssl >= 1.0.2... yes
checking for GD support... yes
checking for external libgd... no
checking for libavif... no
checking for libwebp... yes
checking for libjpeg... yes
checking for libXpm... yes
checking for FreeType 2... yes
checking whether to enable JIS-mapped Japanese font support in GD... yes
checking for fabsf... yes
checking for floorf... yes
checking for zlib... yes
checking for libpng... yes
checking for libwebp >= 0.2.0... yes
checking for libjpeg... yes
checking for xpm... yes
checking for freetype2... yes
checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... no
checking for bindtextdomain in -lc... yes
checking for ngettext in -lc... yes
checking for dngettext in -lc... yes
checking for dcngettext in -lc... yes
checking for bind_textdomain_codeset in -lc... yes
checking for GNU MP support... yes
checking for __gmpz_rootrem in -lgmp... yes
checking for mhash support... yes
checking size of long... (cached) 8
checking if we're at 64-bit platform... yes
checking for iconv support... yes
checking for iconv... yes
checking if iconv is glibc's... yes
checking if iconv supports errno... no
configure: error: iconv does not support errno
+------------------+
| ERROR DETECTED |
+------------------+
Installation php-8.1.26 failed.
The Full Log is available at /root/lamp/lamp.log
Please visit website: https://lamp.sh/faq.html for help
Hi teddy,
lamp is a very useful deployment tool. However, the following error is displayed during the installation process. How to troubleshoot and handle it?
Configuring extensions checking for io.h... no checking for strtoll... yes checking for atoll... yes checking whether to build with LIBXML support... yes checking for libxml-2.0 >= 2.9.0... yes checking for OpenSSL support... yes checking for Kerberos support... yes checking whether to use system default cipher list instead of hardcoded value... no checking for krb5-gssapi krb5... yes checking for openssl >= 1.0.2... yes checking for RAND_egd... no checking for PCRE library to use... bundled checking whether to enable PCRE JIT functionality... yes checking whether Intel CET is enabled... no checking whether to enable the SQLite3 extension... yes checking for sqlite3 >= 3.7.7... yes checking for sqlite3_errstr in -lsqlite3... yes checking for sqlite3_expanded_sql in -lsqlite3... yes checking for sqlite3_load_extension in -lsqlite3... yes checking for ZLIB support... yes checking for zlib >= 1.2.0.4... yes checking whether to enable bc style precision math functions... yes checking for BZip2 support... yes checking for BZip2 in default path... found in /usr checking for BZ2_bzerror in -lbz2... yes checking whether to enable calendar conversion support... yes checking whether to enable ctype functions... yes checking for cURL support... yes checking for libcurl >= 7.29.0... yes checking for SSL support in libcurl... yes checking for libcurl linked against old openssl... no checking for curl_easy_perform in -lcurl... yes checking for QDBM support... no checking for GDBM support... no checking for NDBM support... no checking for TCADB support... no checking for LMDB support... no checking for Berkeley DB4 support... no checking for Berkeley DB3 support... no checking for Berkeley DB2 support... no checking for DB1 support... no checking for DBM support... no checking for CDB support... builtin checking for INI File support... builtin checking for FlatFile support... builtin checking whether to enable DBA interface... yes checking whether to enable dl-test extension... no checking whether to enable DOM support... yes checking for libxml-2.0 >= 2.9.0... yes checking whether to build with Enchant support... yes checking for enchant-2... yes checking whether to enable EXIF (metadata from images) support... yes checking for FFI support... no checking for fileinfo support... yes checking for strcasestr... yes checking for utimes... yes checking for strndup... yes checking whether to enable input filter support... yes checking whether to enable FTP support... yes checking whether to explicitly enable FTP SSL support... no checking for openssl >= 1.0.2... yes checking for GD support... yes checking for external libgd... no checking for libavif... no checking for libwebp... yes checking for libjpeg... yes checking for libXpm... yes checking for FreeType 2... yes checking whether to enable JIS-mapped Japanese font support in GD... yes checking for fabsf... yes checking for floorf... yes checking for zlib... yes checking for libpng... yes checking for libwebp >= 0.2.0... yes checking for libjpeg... yes checking for xpm... yes checking for freetype2... yes checking for GNU gettext support... yes checking for bindtextdomain in -lintl... no checking for bindtextdomain in -lc... yes checking for ngettext in -lc... yes checking for dngettext in -lc... yes checking for dcngettext in -lc... yes checking for bind_textdomain_codeset in -lc... yes checking for GNU MP support... yes checking for __gmpz_rootrem in -lgmp... yes checking for mhash support... yes checking size of long... (cached) 8 checking if we're at 64-bit platform... yes checking for iconv support... yes checking for iconv... yes checking if iconv is glibc's... yes checking if iconv supports errno... no configure: error: iconv does not support errno
+------------------+ | ERROR DETECTED | +------------------+ Installation php-8.1.26 failed. The Full Log is available at /root/lamp/lamp.log Please visit website: https://lamp.sh/faq.html for help