ID:               32366
 Updated by:       [EMAIL PROTECTED]
 Reported By:      pepperjack at doctorunix dot com
-Status:           Open
+Status:           Wont fix
 Bug Type:         Compile Failure
 Operating System: Linux / BSD
 PHP Version:      4.3.10
 New Comment:

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:[EMAIL PROTECTED]:/repository co pecl/
cyrus






Previous Comments:
------------------------------------------------------------------------

[2005-03-18 22:08:10] 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




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32366&edit=1

Reply via email to