Cannot find imap library (libc-client.a) while compiling PHP71

Hello,

I am trying to compile imap into my php but I am facing this issue error everytime :
Code:
configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.

Would you please mention that how would I be able to add this library to my FreeBSD or in general solve this problem ?

Thank you in advanced
 
Thank you very much for your reply,

I also found this method for those who are using DirectAdmin:

1.
Code:
pkg install imap-uw

2. add line to file: /usr/local/directadmin/custombuild/custom/fpm/configure.php71
Code:
--with-imap=/usr/local/php-imap\

3.
Code:
cd /usr/local/directadmin/custombuild && ./build php

Regards
 
Back
Top