PHP 4.0 Bug #9553 Updated: openssl detection in wrong order for linkage
| From: | sniper@php.net | Date: | Mon, 05 Mar 2001 03:30:03 +0000 |
| Subject: | PHP 4.0 Bug #9553 Updated: openssl detection in wrong order for linkage | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47943@lists.php.net to get a copy of this message | ||
ID: 9553
Updated by: sniper
Reported By: alfredreibenschuh@yahoo.com
Old-Status: Open
Status: Closed
Bug Type: Unknown/Other Function
Assigned To:
Comments:
This is already fixed in CVS. Please try a CVS snapshot from http://snaps.php.net/
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-03-04 22:24:40] alfredreibenschuh@yahoo.com
hi !
i'm using curl with ssl so i use --with-openssl
to have php linked against the right libs
beginning on line 545 of "configure.in" it reads:
AC_ADD_LIBPATH($OPENSSL_DIR/lib)
AC_ADD_LIBRARY(ssl)
AC_ADD_LIBRARY(crypto)
AC_ADD_INCLUDE($OPENSSL_INC)
----
but in "configure" the libraries are assigned like LIBS=" -llib $LIBS "
which means that crypto is linked before ssl BUT ssl needs crypto !!!
it should read:
AC_ADD_LIBPATH($OPENSSL_DIR/lib)
AC_ADD_LIBRARY(crypto)
AC_ADD_LIBRARY(ssl)
AC_ADD_INCLUDE($OPENSSL_INC)
----
probably other unices have another linking order so adding
another crypto after ssl may help too
have had no such problems on linux tho
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9553&edit=2