Edit report at http://bugs.php.net/bug.php?id=52192&edit=1
ID: 52192 Updated by: [email protected] Reported by: news at onastick dot clara dot co dot uk Summary: PHP 5.3 not working against OpenSSL 0.9.6 -Status: Open +Status: Assigned Type: Bug Package: Compile Failure Operating System: Linux PHP Version: 5.3.2 -Assigned To: +Assigned To: pajoye New Comment: Have you ever considered to update? 0.9.6 is 7 years old and many critical fixes have been done since. I don't have a box with this version, but can check to see if it is easily fixable. If not, this bug will be marked as won't fix. Previous Comments: ------------------------------------------------------------------------ [2010-06-27 21:33:10] news at onastick dot clara dot co dot uk Using latest snapshot makes no difference. Same errors are generated. ------------------------------------------------------------------------ [2010-06-26 16:09:56] [email protected] Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2010-06-26 15:23:49] news at onastick dot clara dot co dot uk Description: ------------ "configure" states that OpenSSL 0.9.6 is required as a minimum for build however the compilation process fails on line 4560 building ext/openssl/openssl. It seems that newer versions of SSL return a status from 'EVP_DigestFinal' whereas in 0.9.6 is it a void. This is relatively easily hacked out however at final link fatal errors are produced - see actual result below. For me, yes I'd like it to work with my existing version however this probably isn't realistic going forward so the build should probably be updated to give a new minimum version of SSL that it will work with. Test script: --------------- ./configure --with-openssl .... make Expected result: ---------------- Build completes successfully Actual result: -------------- ext/openssl/.libs/openssl.o: In function `php_openssl_generate_private_key': /home/jon/php/php-5.3.2/ext/openssl/openssl.c:2778: undefined reference to `DH_get_default_method' ext/openssl/.libs/openssl.o: In function `zif_openssl_sign': /home/jon/php/php-5.3.2/ext/openssl/openssl.c:4006: undefined reference to `EVP_MD_CTX_cleanup' ext/openssl/.libs/openssl.o: In function `zif_openssl_verify': /home/jon/php/php-5.3.2/ext/openssl/openssl.c:4057: undefined reference to `EVP_MD_CTX_cleanup' ext/openssl/.libs/openssl.o: In function `zif_openssl_get_md_methods': /home/jon/php/php-5.3.2/ext/openssl/openssl.c:4512: undefined reference to `OBJ_NAME_do_all_sorted' ext/openssl/.libs/openssl.o: In function `zif_openssl_get_cipher_methods': /home/jon/php/php-5.3.2/ext/openssl/openssl.c:4528: undefined reference to `OBJ_NAME_do_all_sorted' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52192&edit=1
