Edit report at http://bugs.php.net/bug.php?id=54736&edit=1
ID: 54736
Comment by: bobvin at pillars dot net
Reported by: bobvin at pillars dot net
Summary: ext/openssl/xp_ssl.c:333: undefined reference to
`SSLv2_client_method'
Status: Feedback
Type: Bug
Package: OpenSSL related
Operating System: Linux
PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
root@www:~# dpkg -l | grep libssl
ii libssl-dev 1.0.0d-2
SSL development libraries, header files and documentation
ii libssl-doc 1.0.0d-2
SSL development documentation documentation
ii libssl0.9.8 0.9.8o-7
SSL shared libraries
ii libssl1.0.0 1.0.0d-2
SSL shared libraries
Previous Comments:
------------------------------------------------------------------------
[2011-05-15 17:10:44] [email protected]
I found and fixed this problem a couple of weeks ago with a patch very
similar
to the one you linked to. It builds fine on my Debian dev box which has
the new
libssl without SSLv2.
Do this for me:
8:09am new:~> dpkg -l | grep libssl
ii libssl-dev 1.0.0d-2 SSL
development libraries, header files and documentation
ii libssl-doc 1.0.0d-2 SSL
development documentation documentation
ii libssl0.9.8 0.9.8o-7 SSL
shared
libraries
ii libssl1.0.0 1.0.0d-2 SSL
shared
libraries
Let's see your installed ssl versions.
------------------------------------------------------------------------
[2011-05-15 16:24:59] bobvin at pillars dot net
Got the following error when compiling the snapshot:
/usr/bin/ld.bfd.real: ext/openssl/openssl.o: undefined reference to
symbol
'SSL_free@@OPENSSL_1.0.0'
/usr/bin/ld.bfd.real: note: 'SSL_free@@OPENSSL_1.0.0' is defined in DSO
/usr/lib/libssl.so.1.0.0 so try adding it to the linker command line
/usr/lib/libssl.so.1.0.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
------------------------------------------------------------------------
[2011-05-15 14:26:52] [email protected]
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2011-05-15 14:21:00] bobvin at pillars dot net
Sorry; I must have cut-and-pasted the tinyurl link incorrectly.
The patch can be downloaded from http://tinyurl.com/5w3mnsl
which forwards to http://git.debian.org/?p=pkg-
php/php.git;a=blob_plain;f=debian/patches/disable_SSLv2_for_openssl_1_0_0.patch;h
b=HEAD
------------------------------------------------------------------------
[2011-05-15 01:08:16] bobvin at pillars dot net
Description:
------------
See Debian bug report
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620776
Downloadable patch at http://tinyurl.com/3mrcary
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54736&edit=1