Bug #14223 Updated: "configure: error: This c-client library does not support SSL." error msg
| From: | sander@php.net | Date: | Mon, 17 Dec 2001 12:15:52 +0000 |
| Subject: | Bug #14223 Updated: "configure: error: This c-client library does not support SSL." error msg | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-74123@lists.php.net to get a copy of this message | ||
ID: 14223
Updated by: sander
Reported By: erwann@abalea.com
Old Status: Feedback
Status: Closed
Bug Type: Compile Failure
Operating System: Linux 2.0.36
PHP Version: 4.0.6
New Comment:
No feedback. Closing.
Previous Comments:
------------------------------------------------------------------------
[2001-11-26 07:19:04] sniper@php.net
Why don't you test it? (it should be fixed)
Try a snapshot: http://snaps.php.net/ or wait for PHP 4.1.0 to
be released.
(Today/tomorrow)
--Jani
------------------------------------------------------------------------
[2001-11-26 03:31:37] erwann@abalea.com
I'm still getting this message, and I think I've found why.
You correctly try to detect the crypto lib before the ssl lib of OpenSSL, but when trying to compile
a test program to test if the IMAP library was compiled with SSL support, you link with the crypto
lib before the ssl lib. These libraries should be reversed (the ssl lib needs symbols that are
defined in the crypto lib).
I tried to correct this, and still got the same error. I also found that you must link with the
c-client library before the ssl and crypto libs (the config.log tries to run this:
gcc -o conftest -g -O2 -DLINUX=20 -DDEV_RANDOM=/dev/random -DMOD_SSL=208104 -DUSE_HSREGEX -DEAPI
-DUSE_EXPAT -Wl,
-rpath,/usr/X11/lib -L/usr/X11/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -lpam -lgmp
-lgd -lX11 -lXpm -ljpeg -lgdbm -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lresolv
-lc-client 1>&5
and fails, for the same reason (the c-client lib needs some symbols that are defined in the ssl
lib). I added -lssl and -lcrypto after the -lc-client, and it works.
I don't know if this has been fixed in the CVS version.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14223&edit=1