#38486 [NEW]: openssl extension does not build correctly
| From: | judas dot iscariote at gmail dot com | Date: | Thu, 17 Aug 2006 23:35:50 +0000 |
| Subject: | #38486 [NEW]: openssl extension does not build correctly | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-100917@lists.php.net to get a copy of this message | ||
From: judas dot iscariote at gmail dot com
Operating system: linux
PHP version: 5.2.0RC2
PHP Bug Type: Compile Failure
Bug description: openssl extension does not build correctly
Description:
------------
openssl extension does not currently build against some slightly older
openssl versions, nor the configure script bails out if a newver version
is required.
Reproduce code:
---------------
try to build openssl extension as shared
Expected result:
----------------
compiled succefully
Actual result:
--------------
/usr/src/packages/BUILD/php-5.2.0RC2/ext/openssl/openssl.c: In function
`zif_openssl_pkey_get_details':
/usr/src/packages/BUILD/php-5.2.0RC2/ext/openssl/openssl.c:2330: error:
`EVP_PKEY_EC' undeclared (first use in this function)
/usr/src/packages/BUILD/php-5.2.0RC2/ext/openssl/openssl.c:2330: error:
(Each undeclared identifier is reported only once
/usr/src/packages/BUILD/php-5.2.0RC2/ext/openssl/openssl.c:2330: error:
for each function it appears in.)
make: *** [ext/openssl/openssl.lo] Error 1
looks like extension needs to check if OPENSSL_NO_EC is **not** defined
before trying to use EVP_PKEY_EC.
--
Edit bug report at http://bugs.php.net/?id=38486&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38486&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38486&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38486&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38486&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38486&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38486&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38486&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38486&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38486&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38486&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38486&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38486&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38486&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38486&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38486&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38486&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38486&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38486&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38486&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38486&r=mysqlcfg