From: [EMAIL PROTECTED] Operating system: linux redhat 6.2 PHP version: 4.0.6 PHP Bug Type: IMAP related Bug description: imap-ssl configure test fails (fixed!) See 11934 Good news! I've figured out the reason why --with-imap-ssl fails in the configure script! The gcc line should be: gcc -o conftest -g -O2 -Wl,-rpath,/usr/depot/openssl-0.9.6b/lib -L/usr/depot/openssl-0.9.6b/lib -Wl,-rpath,/usr/lib/lib -L/usr/lib/lib -Wl,-rpath,/usr/depot/imap/src/c-client -L/usr/depot/imap/src/c-client conftest.c -lpam -lssl -lgmp -lgd -lttf -lpng -lz -ljpeg -lgdbm -lz -lcrypt -lc-client -lcrypto -lresolv -lm -ldl -lnsl -lresolv The problem was that '-lc-client' was at the end of the line, and it *must* be before -lssl or else unresolved symbols ensue and the configuration fails. #line 22889 "configure" -- Edit bug report at: http://bugs.php.net/?id=12125&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]