0

我正在我的计算机上安装 Apache Server 2.4.6(最新版本),但安装时遇到了问题。安装apr-1.4.8和apr-utils-1.5.2后,做了一个简单的

./configure --enable-file-cache --enable-cache --enable-disk-cache --enable-mem-cache --enable-deflate --enable-expires --enable-headers --enable-usertrack --enable-ssl --enable-cgi --enable-vhost-alias --enable-rewrite --enable-so --with-apr=/usr/local/apr/

配置我的服务器。那工作得很好。但是,在那之后我输入make了,编译后我得到了一个错误说

passwd_common.o: In function `mkhash':
/root/sr/httpd-2.4.6/support/passwd_common.c:261: undefined reference to `apr_bcrypt_encode'

我试过谷歌搜索,但我不知道为什么会这样。可能有人知道为什么会出现这种情况吗?当我遵循以下说明时,我正确地遵循了每条指令documentation

download the latest versions of both APR and APR-Util from Apache APR, unpack them into ./srclib/apr and ./srclib/apr-util (be sure the domain names do not have version numbers; for example, the APR distribution must be under ./srclib/apr/)

可能有人知道为什么我会得到undefined reference toapr_bcrypt_encode'`?我只是担心,因为我已经尝试卸载并重新安装一次。

4

0 回答 0