What to do?
checking for iconv support... no
checking for IMAP support... yes
checking for IMAP Kerberos support... yes
checking for IMAP SSL support... no
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... yes
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 )
*** There was an error while trying to configure php. Check the configure.php file
It looks like this is all a 64bit<->32bit incompatibility.
On my 64bit CentOS boxes, none of them have either a /usr/kerberos/lib or /usr/kerberos/lib64 folder.
Installing the original 64bit c-client lib by running:
up2date -u libc-client* does install the libc-client.a, but the php configuration cannot find it, as it appearently only checks for a 32 bit version.
Disabling --with-kerberos does compile, but gives me a link error in relocation of 64 to 32 bit in libc-client.a, the one build from the DA file.
Even when installing both kerberos 5 64bit and 32bit libraries, the php configuration seems unable to find them when enabling imap.
Without IMAP enabled, ldd /usr/local/bin/php clearly shows that kerberos 5 IS installed and linked to corectly:
libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00000030ab200000)
libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00000030aad00000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00000030aab00000)
libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00000030ab400000)
Maybe it's all just a bug in PHP with the new IMAP ?
Why did they change IMAP to need libc-client anyways, while it has worked before without this?