I'm tryting to install PHP 4.3.5 with IMAP support on my Slackware 8.0 Linux box as an Apache 2 module.
This is the command I use to configure PHP:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-gettext \ --with-xml --with-mysql --with-mcrypt=/usr --with-zlib=/usr --with-zlib=/usr \ --with-gd=/usr --prefix=/usr/local/php/4.3.5 --with-imap=/usr/local/imap-2002e \ --with-pear=/usr/local/php/pear --enable-ftp --with-dom=/usr
The build process doesn't cause any problems at all. However, when I try to start Apache afterwards with 'apachectl start', all I get is
Syntax error on line 231 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp4.so into server: /usr/local/apache2/modules/libphp4.so: undefined symbol: mmdfdriver
mmdfdriver seems to be a variable defined in mmdf.c of the IMAP c-client.
I've tried building PHP with imap-2002e and also with imap-2001.rc1 as suggested
by a comment in the PHP online documentation. Both produced the same result.
When I compile without IMAP support everything works perfectly.
Any help is appreciated. Toby