Bug #12125 Updated: imap-ssl configure test fails (fixed!) See 11934
| From: | sniper@php.net | Date: | Thu, 26 Jul 2001 22:16:45 +0000 |
| Subject: | Bug #12125 Updated: imap-ssl configure test fails (fixed!) See 11934 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-61122@lists.php.net to get a copy of this message | ||
ID: 12125
Updated by: sniper
Reported By: n@mellor.bc.ca
Old Status: Open
Status: Feedback
Bug Type: IMAP related
Operating System: linux redhat 6.2
PHP Version: 4.0.6
New Comment:
Could you please try the latest CVS snapshot from http://snaps.php.net/ since this should be fixed in it.
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-07-13 00:28:29] n@mellor.bc.ca
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 this bug report at http://bugs.php.net/?id=12125&edit=1