今天在Ubuntu 11.10编译php-5.2.17的时候出现 OPENSSL的异常有关问题
程序员文章站
2022-06-06 19:22:42
...
今天在Ubuntu 11.10编译php-5.2.17的时候出现 OPENSSL的错误问题
[zz]http://www.centos.bz/2012/06/openssl-undefined-reference-to-sslv2_client_method/
Ubuntu 11.10编译php-5.2.17的时候出现如下的错误:
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] 错误 1
这个需要一个补丁禁用openssl的SSLv2_client_method,方法如下:
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 然后再重新编译php
make clean
make && make install
[zz]http://www.centos.bz/2012/06/openssl-undefined-reference-to-sslv2_client_method/
Ubuntu 11.10编译php-5.2.17的时候出现如下的错误:
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] 错误 1
这个需要一个补丁禁用openssl的SSLv2_client_method,方法如下:
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 然后再重新编译php
make clean
make && make install
相关文章
相关视频
下一篇: Photosho打造简单的彩色条纹苹果