Mac source code compilation php7 reported iconv error.

./configure  --prefix=/usr/local/php/7.2.7 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/7.2.7 --with-config-file-path=/usr/local/etc/php/7.2.7 --with-config-file-scan-dir=/usr/local/etc/php/7.2.7/conf.d --enable-bcmath --enable-calendar --enable-dba --enable-dtrace --enable-exif --enable-ftp --enable-fpm --enable-intl --enable-mbregex --enable-mbstring --enable-mysqlnd --enable-shmop --enable-soap --enable-sockets --enable-zip --with-bz2 --with-fpm-user=_www --with-fpm-group=_www --with-freetype-dir=/usr/local/Cellar/freetype/2.9 --with-gd --with-gettext=/usr/local/Cellar/gettext/0.19.8.1 --with-imap-ssl=/usr/local/Cellar/openssl/1.0.2n --with-jpeg-dir=/usr/local/Cellar/jpeg/9c --with-ldap --with-libzip --with-mhash --with-mysql-sock=/tmp/mysql.sock --with-mysqli=mysqlnd --with-ndbm --with-openssl=/usr/local/Cellar/openssl/1.0.2n --with-pic --with-png-dir=/usr/local/Cellar/libpng/1.6.34  --with-sodium=/usr/local/Cellar/libsodium/1.0.16 --with-tidy  --with-xmlrpc --with-xsl --with-zlib --with-curl --enable-debug --with-pdo --with-pdo-mysql --with-iconv=/usr/local/Cellar/libiconv/1.15
The

compilation command has specified the directory of iconv"s library, and the library is installed through brew install libiconv . But when you execute the . / configure command, you always prompt:

configure: error: Please reinstall the iconv library.

I feel helpless.

Php
Mar.28,2021

libiconv version is not enough?


I have the same problem. Even if I have a libiconv-1.15 on the network, I can't even


ask the same question that php7.2.7 libiconv-1.15 reports this configure: error: Please reinstall the iconv library. under mac. Php5.6 compiles normally

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb86da-26d4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb86da-26d4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?