Check if you have the c-client library "libc-client.a" in
/usr/local/imap-2002e/lib
If not, you have to:
cd /usr/local/imap-2002e/lib
ln -s c-client.a libc-client.a
Joe Lee.
-----Original Message-----
From: Toby [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 4:10 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INSTALL] PHP 4.3.5 + IMAP
Hello,
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