ukdmbfan Posted December 17, 2006 Share Posted December 17, 2006 I'm trying to get PHP 5.2 to configure on a new VPS installation I've got, but I'm having trouble with specific libraries that even though they're installed, PHP just doesn't want to find them, even when specifying the directories.I'm just trying to get it to compile with IMAP support at the moment, but because I've got the c-client libraries installed into IMAP it has to have kerberos support to compile. I've got the krb5, krb5-devel and krb5-libs packages all installed, but I'm still getting the "configure: error: Kerberos libraries not found" error message coming up even though they're clearly there (under /usr/kerberos). If I try specifying that directory it still doesn't work.Server is CentOS-4.4, running 64-bit.Are there any known tweaks with configure that need to be performed in order to get it to compile in such a situation? Any help would be greatly appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/30971-php-5-on-linux-vps-failing-on-kerberos/ Share on other sites More sharing options...
ukdmbfan Posted December 17, 2006 Author Share Posted December 17, 2006 End of configure output:[code]checking for IMAP support... yeschecking for IMAP Kerberos support... /usr/kerberoschecking for IMAP SSL support... yeschecking for pam_start in -lpam... yeschecking for crypt in -lcrypt... yeschecking for krb5-config... /usr/kerberos/bin/krb5-configconfigure: 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 )[/code]Locate kerberos:[code]/usr/include/kerberosIV/usr/include/kerberosIV/kadm_err.h/usr/include/kerberosIV/krb.h/usr/include/kerberosIV/des.h/usr/include/kerberosIV/mit-copyright.h/usr/include/kerberosIV/krb_err.h/usr/kerberos/usr/kerberos/sbin/usr/kerberos/sbin/sserver/usr/kerberos/bin/usr/kerberos/bin/sclient/usr/kerberos/bin/krb5-config/usr/kerberos/man/usr/kerberos/man/man1/usr/kerberos/man/man1/sclient.1.gz/usr/kerberos/man/man8/usr/kerberos/man/man8/sserver.8.gz/usr/kerberos/share/usr/kerberos/share/gnats/usr/kerberos/share/gnats/mit[/code]Configure process:[code]./configure --prefix=/wwwroot/php5 --with-apxs2=/usr/sbin/apxs--with-config-file-path=/wwwroot/php5 --with-mysql --with-mysqli--with-openssl --with-imap --with-imap-ssl --with-kerberos[/code] Quote Link to comment https://forums.phpfreaks.com/topic/30971-php-5-on-linux-vps-failing-on-kerberos/#findComment-142912 Share on other sites More sharing options...
ukdmbfan Posted December 18, 2006 Author Share Posted December 18, 2006 Got it sorted, if anyone's reading this and interested in the answer - compile required libraries from source and it seems to work OK. Quote Link to comment https://forums.phpfreaks.com/topic/30971-php-5-on-linux-vps-failing-on-kerberos/#findComment-143556 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.