PHP compile error

Rob Siemborski rjs3 at
Mon May 26 17:27:33 EDT 2003

On Mon, 26 May 2003 dimon at wrote:

> I can't compile php-4.3.1 with cyrus-2.2a libraries
> I had no problem compiling php with cyrus-2.1.13 libraries

PHP hasn't upgraded their module for the 2.2 libcyrus.

> Here is the error.
> /usr/local/lib/libcyrus.a(imclient.o): In function `imclient_connect':
> imclient.o(.text+0x31): undefined reference to `assertionfailed'
> imclient.o(.text+0x51): undefined reference to `assertionfailed'
> /usr/local/lib/libcyrus.a(imclient.o): In function `imclient_close':
> imclient.o(.text+0x29b): undefined reference to `assertionfailed'
> /usr/local/lib/libcyrus.a(imclient.o): In function `imclient_setflags':
> imclient.o(.text+0x395): undefined reference to `assertionfailed'
> /usr/local/lib/libcyrus.a(imclient.o): In function `imclient_clearflags':
> imclient.o(.text+0x3c5): undefined reference to `assertionfailed'
> /usr/local/lib/libcyrus.a(imclient.o)(.text+0x3f9): more undefined references
> to `assertionfailed' follow
> *** Error code 1
> For now what I have to do is first install cyrus-2.1.13 compile php, then
> uninstall cyrus-2.1.13 and install cyrus-2.2a and use it. It seems to work.
> Can you please take a look at that issue?

You need to link libcyrus_min.a in addition to libcyrus.a


Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper

More information about the Info-cyrus mailing list