Bug #12125: imap-ssl configure test fails (fixed!) See 11934
| From: | n at mellor dot bc dot ca | Date: | Fri, 13 Jul 2001 04:28:29 +0000 |
| Subject: | Bug #12125: imap-ssl configure test fails (fixed!) See 11934 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-59914@lists.php.net to get a copy of this message | ||
From: n@mellor.bc.ca
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