PHP 4.0 Bug #8955: Libs loaded in wrong order: -lcrypto -lssl
| From: | gaa at ulticom dot com | Date: | Sat, 27 Jan 2001 22:40:07 +0000 |
| Subject: | PHP 4.0 Bug #8955: Libs loaded in wrong order: -lcrypto -lssl | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45164@lists.php.net to get a copy of this message | ||
From: gaa@ulticom.com
Operating system: Solaris 2.6
PHP version: 4.0.4pl1
PHP Bug Type: *Install and Config
Bug description: Libs loaded in wrong order: -lcrypto -lssl
When one tries to configure php with openssl, the
libraries are loaded in the wrong order. The problem
is that AC_ADD_LIBRARY in configure.in uses a
first-in last-out mechanism. Swap the order to fix.
Change:
AC_ADD_LIBRARY(ssl)
AC_ADD_LIBRARY(crypto)
To:
AC_ADD_LIBRARY(crypto)
AC_ADD_LIBRARY(ssl)
--
Edit Bug report at: http://bugs.php.net/?id=8955&edit=1