I had to compile PHP from scratch. IMAP was a requirement, using apache RPM, 
imap-200c(-devel) RPM and had problems starting up the webserver (undefined 
symbol: gss_nt_service_name). I found a resolution to this problem and posted 
it on PHP builder.

I think it has something to do with Kerberos encryption. I noticed that redhat 
includes kerberos library, and there's an option for IMAP to include kerberos 
when configuring php.

The other person who got it to work with that script that he created had only 
one thing in common with my other google searches, he included -lkrb. I ran 
into this problem with Redhat (Red Hat) 7.2 when attempting to compile php for 
imap. It seems like they install the imap client to use Kerberos encryption 
(by also installing Kerberos). So when php tried to load c-client.a at compile 
time, it missed some kerberos code.

I am recompiling as I type, so if this is the resolution... YES!!! It is!!! :) 
Okay, so if you are going to use the apache RPM from redhat, and the 
imap(-devel) RPM from redhat, make sure that kerberos is installed (should be 
by default) and add --with-kerberos=/usr/kerberos when you use 
--with-imap=/usr/lib

(my full configure from config.status)

  ./configure  --disable-nls --disable-debug --with-apxs=/usr/sbin/apxs 
--with-openssl --enable-bcmath --enable-dbase --with-db3 --enable-ftp 
--with-gd --with-ldap --with-mysql --with-mm --enable-sockets --with-zlib 
--with-imap=/usr/lib --with-kerberos=/usr/kerberos


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to