Edit report at https://bugs.php.net/bug.php?id=62656&edit=1
ID: 62656
Comment by: dsysko at genscape dot com
Reported by: mattj at emazestudios dot com
Summary: Undefined reference to SSLv2 variables with OpenSSL
1.0.1
Status: Open
Type: Bug
Package: OpenSSL related
Operating System: Linux
PHP Version: 5.3.15
Block user comment: N
Private report: N
New Comment:
I see this same behaviour with PHP version 5.4.6 and same version of
OpenSSL(1.0.1c)
My config options:
--with-openssl
--with-pgsql
--with-curl
--with-tidy
--with-zlib
--with-apxs2=/usr/local/httpd/bin/apxs
--with-gd
--with-pdo-pgsql
--enable-pdo
--enable-zip
--enable-pcntl
--enable-soap
Previous Comments:
------------------------------------------------------------------------
[2012-07-25 03:37:17] mattj at emazestudios dot com
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 this bug report at https://bugs.php.net/bug.php?id=62656&edit=1