Date: 03/04/01
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #9553 Updated: openssl detection in wrong order for linkage"
- Previous message: tsukada <email protected>: "Re: [PHP-DEV] Re: about users of japanese localized php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: alfredreibenschuh <email protected>
Operating system: solaris-2.6(sun4u), probably other unices
PHP version: 4.0.4pl1
PHP Bug Type: Unknown/Other Function
Bug description: openssl detection in wrong order for linkage
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
-- Edit Bug report at: http://bugs.php.net/?id=9553&edit=1
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #9553 Updated: openssl detection in wrong order for linkage"
- Previous message: tsukada <email protected>: "Re: [PHP-DEV] Re: about users of japanese localized php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

