在 Ubuntu 上从源代码安装 apache 时出现问题

问题描述

我正在尝试在 Ubuntu 20 上从源代码安装 apache httpd-2.4.46。我收到这些错误

/usr/bin/ld: server/.libs/libmain.a(main.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: server/.libs/libmain.a(vhost.o): relocation R_X86_64_32 against .rodata.str1.1'不能在制作PIE对象时使用;用 -fPIE 重新编译 /usr/bin/ld: server/.libs/libmain.a(util.o): relocation R_X86_64_32S针对`.rodata'不能在制作PIE对象时使用;重新编译 -fPIE

以及其他几个类似的错误

我如何克服这个问题?谢谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)