No, that's doesn't seem to be the problem. libc-client.a is where it's
supposed to be. I've tried softlinking and copying c-client.a to
libc-client.a.  Both ways the build process works flawlessly. The
error occurs when I try to start Apache.

If PHP had trouble locating libc-client.a, wouldn't configure or
make complain about it and abort?

Toby

Joseph Lee wrote:

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


Reply via email to