Bug #52192 [Opn->Fbk]: PHP 5.3 not working against OpenSSL 0.9.6
| From: | pajoye@php.net | Date: | Sat, 26 Jun 2010 14:09:57 +0000 |
| Subject: | Bug #52192 [Opn->Fbk]: PHP 5.3 not working against OpenSSL 0.9.6 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-151887@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52192&edit=1
ID: 52192
Updated by: pajoye@php.net
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: Feedback
Type: Bug
Package: Compile Failure
Operating System: Linux
PHP Version: 5.3.2
New Comment:
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Previous Comments:
------------------------------------------------------------------------
[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