Hello php-install-list. ---------------------- here: imap-2002.RC6 php-4.2.3 linux 2.4.18 cyrus-imapd-2.1.9 cyrus-sasl-2.1.6 httpd-2.0.40
/usr/local/include/sasl/hmac-md5.h /usr/local/include/sasl/md5.h /usr/local/include/sasl/md5global.h /usr/local/include/sasl/prop.h /usr/local/include/sasl/sasl.h /usr/local/include/sasl/saslplug.h /usr/local/include/sasl/saslutil.h /usr/local/lib/libsasl2.la /usr/local/lib/libsasl2.so /usr/local/lib/libsasl2.so.2 /usr/local/lib/libsasl2.so.2.0.6 ------------------- Bug #18895 reports: PHP configure's does not find SASL2 on System ==> configure: error: Please Re-install the cyrus distribution ------------------------------------------------- Some links enables a successfull run of configure. ln -s /usr/local/lib/libsasl2.so.2.0.6 /usr/local/lib/libsasl.so ln -s /usr/local/include/sasl/sasl* /usr/local/include ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-pear --disable-debug --enable-track-vars --with-ftp --with-xml --with-imap=/usr/src/imap-2002.RC6 --with-gettext --with-cyrus --with-openssl ------------------------------------------------ but make returns: ... /bin/sh /usr/src/php-4.2.3/libtool --silent --mode=link gcc -I. -I/usr/src/php-4.2.3/ -I/usr/src/php-4.2.3/main -I/usr/src/php-4.2.3 -I/usr/local/apache2/include -I/usr/src/php-4.2.3/Zend -I/usr/local/include -I/usr/src/imap-2002.RC6/include -I/usr/src/php-4.2.3/ext/mysql/libmysql -I/usr/src/php-4.2.3/ext/xml/expat -D_REENTRANT -I/usr/src/php-4.2.3/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic -o libphp4.la -rpath /usr/src/php-4.2.3/libs -avoid-version -L/usr/local/lib -L/usr/src/imap-2002.RC6/lib -R /usr/local/lib -R /usr/src/imap-2002.RC6/lib stub.lo Zend/libZend.la sapi/apache2filter/libsapi.la main/libmain.la regex/libregex.la /usr/src/php-4.2.3/ext/ctype/libctype.la /usr/src/php-4.2.3/ext/cyrus/libcyrus.la /usr/src/php-4.2.3/ext/gettext/libgettext.la /usr/src/php-4.2.3/ext/imap/libimap.la /usr/src/php-4.2.3/ext/mysql/libmysql.la /usr/src/php-4.2.3/ext/openssl/libopenssl.la /usr/src/php-4.2.3/ext/pcre/libpcre.la /usr/src/php-4.2.3/ext/posix/libposix.la /usr/src/php-4.2.3/ext/session/libsession.la /usr/src/php-4.2.3/ext/standard/libstandard.la /usr/src/php-4.2.3/ext/xml/libxml.la TSRM/libtsrm.la -lpam -lc-client -lcrypt -lpam -lsasl -lcyrus -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt -ldl /usr/src/imap-2002.RC6/lib/libc-client.a(osdep.o): In function `fatal': /usr/src/imap-2002.RC6/c-client/fs_unix.c(.text+0x9500): multiple definition of `fatal' /usr/src/php-4.2.3/ext/cyrus/.libs/libcyrus.al(cyrus.lo)(.text+0x160):/u sr/src/php-4.2.3/ext/cyrus/cyrus.c: first defined here /usr/i486-suse-linux/bin/ld: Warning: size of symbol `fatal' changed from 40 to 43 in /usr/src/imap-2002.RC6/lib/libc-client.a(osdep.o) /usr/local/lib/libcyrus.a(xmalloc.o): In function `fs_get': /usr/src/cyrus-imapd-2.1.9/lib/xmalloc.c(.text+0x190): multiple definition of `fs_get' /usr/src/imap-2002.RC6/lib/libc-client.a(osdep.o)(.text+0x93c0):/usr/src /imap-2002.RC6/c-client/env_unix.c: first defined here /usr/i486-suse-linux/bin/ld: Warning: size of symbol `fs_get' changed from 110 to 44 in /usr/local/lib/libcyrus.a(xmalloc.o) /usr/local/lib/libcyrus.a(xmalloc.o): In function `fs_give': /usr/src/cyrus-imapd-2.1.9/lib/xmalloc.c(.text+0x1c0): multiple definition of `fs_give' /usr/src/imap-2002.RC6/lib/libc-client.a(osdep.o)(.text+0x94b0):/usr/src /imap-2002.RC6/c-client/fs_unix.c: first defined here/usr/i486-suse-linux/bin/ld: Warning: size of symbol `fs_give' changed from 80 to 34 in /usr/local/lib/libcyrus.a(xmalloc.o) collect2: ld returned 1 exit status make[1]: *** [libphp4.la] Error 1 make[1]: Leaving directory `/usr/src/php-4.2.3' make: *** [all-recursive] Error 1 see also Bug #15776 imap compile failure ----------------------------------------- [19 Sep 8:20pm] [EMAIL PROTECTED] answers. ... Thank you for your interest in PHP. Your problem is in your c-client compile not PHP. Talk to c-client people.. ---------------------------------------- -------------------------------------------- Mark Crispin <[EMAIL PROTECTED] answers: I'm sorry, but this problem seems to go back to the PHP people, or possibly to the Cyrus people. It looks like PHP is trying to link with two libraries, libc-client.a and libcyrus.a, and that both libraries have routines named fatal() and fs_get(). c-client has had these routine names as globals for a long time (15 years), long before Cyrus existed. If libcyrus.a is supposed to be lunk with c-client in an application, it can not define global routines with these names. So either it is a Cyrus problem (libcyrus.a uses conflicting global names), or it is a PHP problem (PHP is linking two incompatible libraries). That is something that you'll need to discuss with the PHP and/or Cyrus people. I do not know enough about either Cyrus or PHP to be able to determine which one of these two possibilities that it is. I can, however, tell you that it's not a c-client problem. I don't know why [EMAIL PROTECTED] told you that it was a "c-client compile". It is clearly doing a link, not a compile; and this link is in PHP and not in c-client. c-client was obviously lunk quite some time earlier. --------------------------------------------- And now I need help. Ralf -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php