Bug #12125 Updated: imap-ssl configure test fails (fixed!) See 11934
| From: | sniper@php.net | Date: | Sat, 11 Aug 2001 16:23:44 +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-62949@lists.php.net to get a copy of this message | ||
ID: 12125
Updated by: sniper
Reported By: n@mellor.bc.ca
Old Status: Feedback
Status: Closed
Bug Type: IMAP related
Operating System: linux redhat 6.2
PHP Version: 4.0.6
New Comment:
Reopen if latest CVS snapshot doesn't fix this.
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-07-26 18:16:45] sniper@php.net
Could you please try the latest CVS snapshot from http://snaps.php.net/ since this should be fixed in it.
--Jani
------------------------------------------------------------------------
[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