Bug #18561: configure fails to find imap libs

From: Date: Thu, 25 Jul 2002 10:47:55 +0000
Subject: Bug #18561: configure fails to find imap libs
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15155@lists.php.net to get a copy of this message
From: oden.eriksson@kvikkjokk.net Operating system: Mandrake Linux 8.2 (and 9.0) PHP version: 4CVS-2002-07-25 PHP Bug Type: *Compile Issues Bug description: configure fails to find imap libs Hi. Whatever I pass to "--with-imap-ssl" I still get: checking for IMAP support... yes, shared checking for pam_start in -lpam... yes checking for crypt in -lcrypt... (cached) yes checking whether SSL libraries are needed for c-client... /usr/lib checking whether IMAP works... configure: error: build test failed. Please check the config.log for details. Ecerpts from config.log: configure:34909: checking whether SSL libraries are needed for c-client configure:35069: checking whether IMAP works configure:35102: gcc -o conftest -O3 -fomit-frame-pointer -pipe -march=i686 -mcpu=i686 -ffast-math -fno-strength-reduce -fPIC conftest.c -lcrypt -lpam -lgd -lt1 -lfreetype -lpng -lz -ljpeg -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lttf -lfreetype -lpng -ljpeg -lz -lnsl -lreadline -lhistory -lncurses -lcrypt 1>&5 /tmp/cclSaiiI.o: In function `main': /tmp/cclSaiiI.o(.text+0x31): undefined reference to `mail_open' collect2: ld returned 1 exit status configure: failed program was: #line 35077 "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_open(); int main() { mail_open(0,"",0); return 0; } Reverting to ext/imap/config.m4 (v1.44) fixes the problem. Chears. -- Edit bug report at http://bugs.php.net/?id=18561&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18561&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18561&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18561&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18561&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18561&r=support Expected behavior: http://bugs.php.net/fix.php?id=18561&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18561&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18561&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18561&r=globals

« previous php.bugs (#15155) next »