[imp] Re: Compiling PHP 4 with cyrus and imap support

Stephen Braswell sbraswe1+horde at email.unc.edu
Tue Apr 19 08:44:24 PDT 2005


Hi Olivier,

The PHP documentation states you cannot use the IMAP extension with the 
Cyrus extension.

See the note at:  http://www.php.net/manual/en/ref.cyrus.php


-Stephen

-- On Tuesday, April 19, 2005 5:30 PM +0200, Olivier GONSON 
<olivier.gonson at univ-paris3.fr> wrote:

> I want to compile PHP4 with imap AND cyrus support (--with-imap
> --with-cyrus) I completed the procedure given in the horde FAQ for
> compiling PHP with  imap support (--with-imap)
> But i want to use cyrus too, and when i'm trying to compile php with both
> support options, i obtain
> the following error message :
>
>
> /usr/local/src/webmail/imap-2004c1/lib/libc-client.a(osdep.o)(.text+0xc00
> ): In function `fatal':
> /usr/local/src/webmail/imap-2004c1/c-client/ftl_unix.c:27: multiple
> definition of `fatal'
> ext/cyrus/cyrus.o(.text+0x1a4): first defined here
> /usr/local/bin/ld: Warning: size of symbol `fatal' changed from 48 in
> ext/cyrus /cyrus.o to 76 in
> /usr/local/src/webmail/imap-2004c1/lib/libc-client.a(osdep.o) collect2:
> ld returned 1 exit status
> make: *** [sapi/cli/php] Error 1
>
>
> Do i have to compile PHP without cyrus support option and will cyrus work
> fine ?
> or is there another solution i didn't think of ?


More information about the imp mailing list