阿帕奇2.4.1未定义的引用`SSLv2_client_method“ [英] Apache 2.4.1 undefined reference to `SSLv2_client_method'

查看:1558
本文介绍了阿帕奇2.4.1未定义的引用`SSLv2_client_method“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是previously运行的Apache 2.2.20和OpenSSL 1.0.0e。我安装了OpenSSL 1.0.1,然后下载的Apache 2.4.1压缩包并安装1.4.6四月功放&; APR-UTIL 1.4.1与 - preFIX =的/ usr /本地。我配置的Apache2中:

I was previously running apache 2.2.20 and openssl 1.0.0e. I installed openssl 1.0.1, then downloaded the tarball for apache 2.4.1 and installed apr 1.4.6 & apr-util 1.4.1 with --prefix=/usr/local. I configured apache2 with:

sudo ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all
--enable-deflate --enable-proxy --enable-proxy-balancer --enable-proxy-http
--enable-rewrite --enable-cache --enable-mem-cache --enable-ssl --enable-headers
--with-mpm=worker --with-included-apr

但运行后须藤使我得到一个错误:

httpd-2.4.1/support/ab.c:2227: undefined reference to `SSLv2_client_method'

是什么原因造成这个错误,我该如何改正呢?

What is causing this error and how do I correct it?

推荐答案

您可能已经建立的OpenSSL与残疾人的SSLv2,有些发行版有残疾(Debian的,从7.0开始-Wheezy-是其中之一)。查看源,它看起来就像如果你定义的 OPENSSL_NO_SSL2 preprocessor标志,Apache将无法调用SSLv2_client_method()函数。

You may have built openssl with SSLv2 disabled, some distributions have that disabled (Debian, starting from 7.0 -Wheezy- is one). Looking at the source, it looks like if you define the OPENSSL_NO_SSL2 preprocessor flag, apache won't call the SSLv2_client_method() function.

这篇关于阿帕奇2.4.1未定义的引用`SSLv2_client_method“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆