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

May*_*gdi 1 c++ compiler-errors makefile compiler-warnings powerdns

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]: *** [全递归] 错误 1

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

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

make: *** [全部] 错误 2

Hed*_*hog 5

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