ID: 25785 Updated by: [EMAIL PROTECTED] Reported By: perceau at eram dot fr Status: Bogus Bug Type: IMAP related Operating System: Suse linux 8.2 PHP Version: 4.3.3 New Comment:
There are 2 possible reasons: 1. The ssl libs are not found 2. The libc-client is borked. (the official and supported c-client is always static, not shared like you have) Previous Comments: ------------------------------------------------------------------------ [2003-10-08 05:59:04] perceau at eram dot fr i've already try it, and got the same error ... ------------------------------------------------------------------------ [2003-10-08 04:43:56] [EMAIL PROTECTED] Add --with-imap-ssl=/usr to your configure line. (assuming libssl is in /usr/lib) ------------------------------------------------------------------------ [2003-10-08 02:53:12] perceau at eram dot fr Description: ------------ Hy, I want to compile PHP with IMAP lib (--with-imap ) to access a POP3 bal. Although i've installed imap-devel libs, configure refuse to compile de conftest.c Reproduce code: --------------- My shell script to compile PHP : make clean rm config.log ./configure --with-apxs2=/www/bin/apxs \ --enable-track-vars \ --enable-trans-sid \ --disable-debug \ --with-oci8=${ORACLE_HOME} \ --with-mysql=/usr/local \ --with-ldap \ --disable-magic-quotes \ --enable-cli \ --with-imap \ --with-recode make make install Expected result: ---------------- It should compiled ok. Can't find what's wrong with imap lib Actual result: -------------- configure:40034: checking whether IMAP works configure:40067: gcc -o conftest -g -O2 conftest.c -lc-client -lcrypt -lresolv -lm -ldl -lnsl 1>&5 /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libc-client.so: undefined reference to `SSL_CTX_set_tmp_rsa_callback' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libc-client.so: undefined reference to `SSL_set_fd' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libc-client.so: undefined reference to `RSA_generate_key' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libc-client.so: undefined reference to `SSL_set_connect_state' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libc-client.so: undefined reference to `SSL_CTX_free' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libc-client.so: undefined reference to `SSL_state' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libc-client.so: undefined reference to `SSL_shutdown' ...... ...... collect2: ld returned 1 exit status configure: failed program was: #line 40042 "configure" #include "confdefs.h" void mm_log(void){} void mm_dlog(void){} void mm_flags(void){} void mm_fatal(void){} void mm_critical(void){} void mm_nocritical(void){} void mm_notify(void){} void mm_login(void){} void mm_diskerror(void){} void mm_status(void){} void mm_lsub(void){} void mm_list(void){} void mm_exists(void){} void mm_searched(void){} void mm_expunged(void){} char mail_newbody(); int main() { mail_newbody(); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25785&edit=1