php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pepperjack at doctorunix dot com
New email:
PHP Version: OS:

 

 [2005-03-18 22:08 UTC] pepperjack at doctorunix dot com
Description:
------------
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
-    CYRUS_SHARED_LIBADD="-lcyrus $CYRUS_SHARED_LIBADD"
+    CYRUS_SHARED_LIBADD="-lcyrus -lcyrus_min $CYRUS_SHARED_LIBADD"
     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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-18 22:31 UTC] moriyoshi@php.net
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 -d:pserver:cvsread@cvs.php.net:/repository co pecl/
cyrus




 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 10:01:35 2025 UTC