#32366 [NEW]: --With-cyrus fails when using cyrus-imapd > 2.2
| From: | pepperjack at doctorunix dot com | Date: | Fri, 18 Mar 2005 21:08:11 +0000 |
| Subject: | #32366 [NEW]: --With-cyrus fails when using cyrus-imapd > 2.2 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-75490@lists.php.net to get a copy of this message | ||
From: pepperjack at doctorunix dot com
Operating system: Linux / BSD
PHP version: 4.3.10
PHP Bug Type: Compile Failure
Bug description: --With-cyrus fails when using cyrus-imapd > 2.2
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 bug report at http://bugs.php.net/?id=32366&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32366&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32366&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32366&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32366&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32366&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32366&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32366&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32366&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32366&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32366&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32366&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32366&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32366&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32366&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32366&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32366&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32366&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32366&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32366&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32366&r=mysqlcfg