ID: 25719 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Linux PHP Version: 4CVS-2003-10-02 (stable) New Comment:
Please provide me a shell account on this machine. There's something seriously wrong with it.. Previous Comments: ------------------------------------------------------------------------ [2003-10-02 16:30:25] [EMAIL PROTECTED] I still get the same error with php4-STABLE-200310021930 and with a fresh CVS checkout (cvs -d :pserver:[EMAIL PROTECTED]:/repository co -r PHP_4_3 php-src). config.log changed a bit: configure:16236: gcc -o conftest -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -lintl -lssl -lcrypto conftest.c -lssl -lresolv -lm -ldl -lnsl 1>&5 The -lssl before the -lcrypto is new, but the second -lssl still has no -lcrypto following. ------------------------------------------------------------------------ [2003-10-01 20:35:30] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2003-10-01 13:53:49] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=25719&edit=1