问题描述
我正在 Solaris 5.10 上使用 openssl-1.1.1i 构建 httpd-2.4.46。我正在使用以下命令进行配置 ./configure --prefix=/hp2/apache/ --with-included-apr --with-pcre --enable-ssl --with-ssl=/opt/openssl-1.1.1i --enable-so -- enable-cgi --enable-info --enable-rewrite --enable-speling --enable-usertrack --enable-deflate --enable-mime-magic
openssl,pcre jas 已正确安装 apr 和 apr-util 已正确处理到 srclib
在运行 make 时,出现以下错误:
未定义先引用
文件中的符号
apr_md4_set_xlate 服务器/.libs/libmain.a(exports.o)
ld:致命:符号引用错误。没有输出写入 .libs/httpd
collect2: ld 返回 1 个退出状态
*** 错误代码 1
make:致命错误:目标的命令失败 httpd' Current working directory /hp2/apache/source/httpd-2.4.46 *** Error code 1 The following command caused the error: otarget=
echo all-recursive|sed s/-recursive//; \ list=' srclib os server modules support'; \ for i in $list; do \ if test -d "$i"; then \ target="$otarget"; \ echo "Making $target in $i"; \ if test "$i" = "."; then \ made_local=yes; \ target="local-$target"; \ fi; \ (cd $i && make $target) || exit 1; \ fi; \ done; \ if test "$otarget" = "all" && test -z 'httpd shared-build '; then \ made_local=yes; \ fi; \ if test "$made_local" != "yes"; then \ make "local-$otarget" || exit 1; \ fi make: Fatal error: Command Failed for target
all-recursive'
当我在没有 ssl 的情况下构建 apache 时,相同的配置正在工作
请帮忙
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)