Bug #62656 [NEW]: Undefined reference to SSLv2 variables with OpenSSL 1.0.1
| From: | mattj at emazestudios dot com | Date: | Wed, 25 Jul 2012 03:37:17 +0000 |
| Subject: | Bug #62656 [NEW]: Undefined reference to SSLv2 variables with OpenSSL 1.0.1 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-172220@lists.php.net to get a copy of this message | ||
From: mattj at emazestudios dot com
Operating system: Linux
PHP version: 5.3.15
Package: OpenSSL related
Bug Type: Bug
Bug description:Undefined reference to SSLv2 variables with OpenSSL 1.0.1
Description:
------------
When compiling either 5.3.15 or 5.4.5 (or even 5.3 latest snapshot) with
OpenSSL 1.0.1c, get the following error:
ext/openssl/xp_ssl.o: In function `php_openssl_setup_crypto':
/root/php-5.4.5/ext/openssl/xp_ssl.c:363: undefined reference to
`SSLv2_server_method'
/root/php-5.4.5/ext/openssl/xp_ssl.c:338: undefined reference to
`SSLv2_client_method'
collect2: ld returned 1 exit status
Apparently this is due to the removal of SSLv2 in OpenSSL, and the
extension doesn't seem to properly pick up which versions miss it.
Using --with-openssl=/usr, but also occurs with --with-openssl alone.
uname -m = x86_64
uname -r = 3.2.0-26-generic
uname -s = Linux
uname -v = #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012
Autoconf 2.65
I can provide any sort of debugging help needed, as I would very much like
to get this issue sorted. Can provide a full config.log on request, same as
any make output.
Seems very similar to bug #54507, however that's supposedly resolved quite
a while ago.
Expected result:
----------------
Normal compilation with OpenSSL module
Actual result:
--------------
Compilation errors as shown above
--
Edit bug report at https://bugs.php.net/bug.php?id=62656&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62656&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62656&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62656&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=62656&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62656&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=62656&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=62656&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=62656&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=62656&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=62656&r=support
Expected behavior: https://bugs.php.net/fix.php?id=62656&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=62656&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=62656&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=62656&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62656&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=62656&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=62656&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=62656&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=62656&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=62656&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=62656&r=mysqlcfg