|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32366 --With-cyrus fails when using cyrus-imapd > 2.2
Submitted: 2005-03-18 22:08 UTC Modified: 2005-03-18 22:31 UTC
From: pepperjack at doctorunix dot com Assigned:
Status: Wont fix Package: Compile Failure
PHP Version: 4.3.10 OS: Linux / BSD
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: pepperjack at doctorunix dot com
New email:
PHP Version: OS:


 [2005-03-18 22:08 UTC] pepperjack at doctorunix dot com
In later versions of cyrus-imapd library "libcyrus.a" is not all inclusive.  You also need to link in the library "libcyrus_min.a"

I made the following change and it works ok now.

--- configure   2005-03-18 15:28:04.257851632 -0600
+++ configure.cyrus     2005-03-18 15:08:25.552042000 -0600
@@ -28821,3 +28821,3 @@
   if test "$ext_shared" = "yes"; then
     if test -n "$i/lib"; then
@@ -28904,3 +28904,3 @@
-      LIBS="-lcyrus $LIBS"
+      LIBS="-lcyrus -lcyrus_min $LIBS"

Reproduce code:
'--with-cyrus' \

Expected result:
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../libcyrus.a(imclient.o)(.text+0x12e): In function `imclient_getselectinfo':
: undefined reference to `assertionfailed'
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../libcyrus.a(imclient.o)(.text+0x14c): In function `imclient_getselectinfo':
: undefined reference to `assertionfailed'
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../libcyrus.a(imclient.o)(.text+0x16a): In function `imclient_getselectinfo':
: undefined reference to `assertionfailed'
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../libcyrus.a(imclient.o)(.text+0x1b7): In function `imclient_servername':
: undefined reference to `assertionfailed'
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../libcyrus.a(imclient.o)(.text+0x207): more undefined references to `assertionfailed' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-18 22:31 UTC]
The extension bundled with the 4.3 package is obsolete. 
Try using the version in the PECL CVS as your problem 
is already solved.

cvs co pecl/

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Jun 29 19:05:46 2022 UTC