리눅스/php

Centos7 환경에서 php imap 관련 error (configure: error: utf8_mime2text)

Rohin 2019. 8. 7. 16:01
반응형

configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.

# wget http://mirror.centos.org/centos/7/extras/x86_64/Packages/epel-release-7-11.noarch.rpm

# yum install epel-release-7-11.noarch.rpm

# wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

# yum install remi-release-7.rpm

# yum update

# yum install libc-client-2007f
# yum install uw-imap-devel-2007f
# yum install uw-imap-2007f
# yum install uw-imap-static-2007f

#ln -s /usr/lib64/libc-client.a /usr/lib/libc-client.a

다시 재컴파일

configure: error: Kerberos libraries not found.

           Check the path given to --with-kerberos (if no path is given, searches in /usr/kerberos, /usr/local and /usr )

mkdir /usr/kerberos
cd /usr/kerberos
ln -s /usr/lib64 lib