OPENSSL exceptions occurred when compiling the php-5.2.17 in Ubuntu11.10 today.
Source: Internet
Author: User
OPENSSL errors today when compiling php-5.2.17 in Ubuntu 11.10 [zz] today when compiling php-5.2.17 in Ubuntu 11.10 OPENSSL errors
Http://www.centos.bz/2012/06/openssl-undefined-reference-to-sslv2_client_method/ [zz]
Ubuntu 11.10 has the following error during php-5.2.17 compilation:
Php-5.2.17/ext/openssl/xp_ssl.c: 357: undefined reference to 'sslv2 _ server_method'
Php-5.2.17/ext/openssl/xp_ssl.c: 337: undefined reference to 'sslv2 _ client_method'
Collect2: ld returned 1 exit status
Make: *** [sapi/cgi/php-cgi] Error 1
This requires a patch to disable SSLv2_client_method of openssl. the method is as follows:
Cd php-5.2.17/
Wget http://www.centos.bz/wp-content/uploads/2012/06/debian_patches_disable_SSLv2_for_openssl_1_0_0.patch
Patch-p1 <debian_patches_disable_SSLv2_for_openssl_1_0_0.patch
Then re-compile php
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service