From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4CVS-2003-10-01 (stable) PHP Bug Type: Compile Failure Bug description: openssl library not found
Description: ------------ Not sure if it's the same problem as reported in the closed #25703; but with php4-STABLE-200310011530, I still get: checking for OpenSSL support... yes checking for pkg-config... /usr/local/bin/pkg-config checking for OpenSSL version... >= 0.9.6 checking for CRYPTO_free in -lcrypto... yes checking for SSL_CTX_set_ssl_version in -lssl... no configure: error: libssl not found! Reproduce code: --------------- ./configure --with-openssl Expected result: ---------------- configure should find the ssl lib. It works fine with PHP-4.3.3. Actual result: -------------- config.log says configure used this check: configure:16233: gcc -o conftest -D_FILE_OFFSET_BITS=64 -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -lintl -lcrypto conftest.c -lssl -lresolv -lm -ldl -lnsl 1>&5 /usr/local/ssl/lib/libssl.a(ssl_lib.o): In function `SSL_clear': ssl_lib.o(.text+0x83): undefined reference to `ERR_put_error' ssl_lib.o(.text+0xd2): undefined reference to `BUF_MEM_free' [...] When I try gcc -o conftest -D_FILE_OFFSET_BITS=64 -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -lintl conftest.c -lssl -lcrypto -lresolv -lm -ldl -lnsl (i.e. -lcrypto after -lssl), the test compiles fine. -- Edit bug report at http://bugs.php.net/?id=25719&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25719&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25719&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25719&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25719&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25719&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25719&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25719&r=support Expected behavior: http://bugs.php.net/fix.php?id=25719&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25719&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25719&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25719&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25719&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25719&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25719&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25719&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25719&r=float