From:             
Operating system: Linux
PHP version:      5.3.2
Package:          Compile Failure
Bug Type:         Bug
Bug description:PHP 5.3 not working against OpenSSL 0.9.6

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 bug report at http://bugs.php.net/bug.php?id=52192&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=52192&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=52192&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=52192&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=52192&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=52192&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=52192&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=52192&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=52192&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=52192&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=52192&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=52192&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=52192&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=52192&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=52192&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=52192&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=52192&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=52192&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=52192&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=52192&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=52192&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=52192&r=mysqlcfg

Reply via email to