mac php iconv,Mac源码编译php7报iconv错误。

./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

编译命令已经指定了iconv的库的目录,而且这个库是通过brew install libiconv安装的。但是执行./configure 命令时还一直提示:

configure: error: Please reinstall the iconv library.

感觉很无奈。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值