安装apache 2.4.35时出错-Make失败,出现Symbol引用错误。 ld:致命:符号引用错误。没有输出写入.libs / httpd

时间:2018-10-18 19:49:53

标签: apache makefile compiler-errors linker-errors

问题陈述::Apache 2.4.35-make失败,并显示错误“失败,符号引用错误。未将输出写入.libs / httpd” :以下详细错误:

  • 我正在尝试安装apache httpd 4.3.45并从中复制它
    源/不加解密,并在/ opt / apache ***中进行配置,但是当我
    执行make失败,并出现上述错误。
  • 我也确实安装了pcre并运行了如下配置。但是现在在制作过程中失败了,并显示错误“ ld:致命:符号
    引用错误。没有输出写入.libs / httpd“       上面的任何帮助都将非常有帮助,因为我不知道错误的原因是什么。


OPERATING SYSTEM: Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC
     Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
                            Assembled 11 August 2010
--------------------------------------------------

/libapr-1.la -luuid -lsendfile -lrt -lsocket -lnsl -lpthread
Undefined                       first referenced
 symbol                             in file
pcre_compile2                       server/.libs/libmain.a(util_pcre.o)
pcre_free                           server/.libs/libmain.a(util_pcre.o)
pcre_exec                           server/.libs/libmain.a(util_pcre.o)
pcre_fullinfo                       server/.libs/libmain.a(util_pcre.o)
ld: fatal: Symbol referencing errors. No output written to .libs/httpd
*** Error code 1

make: Fatal error: Command failed for target `httpd'
Current working directory /opt/apache24_source/httpd-2.4.35
*** 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'
-----------------------------------------------------------------------

0 个答案:

没有答案