If anyone can help out with this I would be
very grateful!
Here's my problem. I'm trying to compile PHP
for use with IMP 3.0 (and other projects) on a RedHat box (i686, rh7.1) and am trying to use the following configure line:
./configure
--with-apxs=/services/www/server/bin/apxs
--with-zlib --with-mm --with-ldap
--with-gettext --enable-ftp
--with-db3=/usr/local/BerkeleyDB.3.1
--enable-sockets
--prefix=/services/www/server/php
--with-openssl=/usr/local/ssl
--with-imap-ssl=/usr/local/ssl
--with-imap=/usr/local/src/imap-2001a
--with-mcrypt
and it compiles and installs fine. Buuuut, when I try to start apache, I get:
Cannot load /services/www/server/libexec/libphp4.so into server: /services/www/server/libexec/libphp4.so: undefined symbol: krb5_defkeyname
If I don't include mcrypt, everything is fine. So, mcrypt somehow needs kerberos stuff on RedHat 7.1 (??). But I need mcrypt, so if I prepend either
export LDFLAGS="-L/usr/kerberos/lib -lkrb5 -lgssapi_krb5 -lpam";
or append
--with-kerberos=/usr/kerberos
to the configure statement above, it compiles, installs and apache starts ok, but imap-ssl won't connect. It just hangs. Withouth mcrypt (and the kerberos associated stuff) imap-ssl works fine.
Is anyone out there using imap-ssl and mycrypt in PHP on a RedHat 7.1 box? I'm fairly certain my box is up to date with all the RedHat rpms and I'm 99% all the paths and ld_so.conf are correct.
Any clues?
thanks,
adam arrowood
adam@ NO_SP4M oit.gatech.edu
http://bastille.ns.gatech.edu/info.html