ID: 9642
Updated by: venaas
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Compile Problem
Assigned To: 
Comments:

We have the same problem when linking with other
libraries with SSL. One way to get around it is
to add the configure argument --with-openssl.

Previous Comments:
---------------------------------------------------------------------------

[2001-03-08 18:40:51] [EMAIL PROTECTED]
When configuring PHP with curl support, and curl has been compiled with ssl support 
the configure stage fails with unresolved symbol errors:
======
Undefined               first referenced
 symbol                     in file
SSL_library_init       /usr/local/lib/libcurl.so
======

The problem stems from the fact that the SSL libs aren't being included in the LIB 
list.

Hacking the configure file so that the line:
LIBS="-lcurl $LIBS"
now reads
LIBS="-lssl -lcrypto -lcurl $LIBS"
solved the problem for me.

Is there a way PHP can determine if libcurl has SSL support and add in those two libs 
if required?

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9642&edit=2


-- 
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]

Reply via email to