【问题标题】://usr/lib/x86_64-linux-gnu/libcrypto.so.1.1: error adding symbols: DSO missing from command line//usr/lib/x86_64-linux-gnu/libcrypto.so.1.1:添加符号时出错:命令行中缺少 DSO
【发布时间】:2021-05-16 00:34:17
【问题描述】:

make powerdns 报错不知道怎么解决

错误 CXX epollmplexer.o CXXLD dnsdist /usr/bin/ld: libssl.o: 未定义对符号'CRYPTO_get_ex_new_index@@OPENSSL_1_1_0'的引用

//usr/lib/x86_64-linux-gnu/libcrypto.so.1.1:添加符号时出错:命令行中缺少 DSO

collect2: 错误:ld 返回 1 个退出状态

Makefile:1206: 目标“dnsdist”的配方失败

make[2]: *** [dnsdist] 错误 1

make[2]: 离开目录'/root/pdns/pdns/dnsdistdist'

Makefile:1443: 目标“全递归”的配方失败

make[1]: *** [all-recursive] 错误 1

make[1]: 离开目录'/root/pdns/pdns/dnsdistdist'

Makefile:1077: 目标“全部”的配方失败

make: *** [all] 错误 2

【问题讨论】:

  • 请编辑您的问题以 (a) 正确格式化,并 (b) 包含导致打印警告的链接行。

标签: c++ makefile compiler-errors compiler-warnings powerdns


【解决方案1】:

您需要在链接器命令中添加“-lcrypto”。

【讨论】:

    猜你喜欢
    • 2015-07-12
    • 2014-11-19
    • 1970-01-01
    • 2015-09-18
    • 2013-11-22
    • 2018-02-12
    • 2015-11-02
    • 2020-10-26
    • 1970-01-01
    相关资源
    最近更新 更多