HostOnNet Blog

utf8_mime2text() has new signature, but U8T_CANONICAL is missing

Looking for Linux Server Admin or WordPress Expert? We can help.

When installing PHP from source, i get following error

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

This is required to compile PHP with IMAP support. Fixed by installing libc-client. Now i got another error

configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.

This is fixed by installing

yum install -y libc-client.x86_64 libc-client-devel.x86_64 libc-client.i686 libc-client-devel.i686

Posted in Linux

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.