Jump to content

Recommended Posts

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.
Link to comment
https://forums.phpfreaks.com/topic/30971-php-5-on-linux-vps-failing-on-kerberos/
Share on other sites

End of configure output:
[code]checking for IMAP support... yes
checking for IMAP Kerberos support... /usr/kerberos
checking for IMAP SSL support... yes
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... yes
checking for krb5-config... /usr/kerberos/bin/krb5-config
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 )[/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]
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.