|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-18 22:31 UTC] moriyoshi@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 13 05:00:02 2025 UTC |
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