使它产生错误,不知道如何解决它
错误CXX epollmplexfor.o CXXLD dnsdist /usr/bin/ld: libssl.o:对符号'CRYPTO_get_ex_new_index@@OPENSSL_1_1_0‘的引用未定义
//usr/lib/x86_64-linux-gnu/libcrypt.so.1.1:添加符号时出错:命令行中缺少DSO
collect2:错误: ld返回%1退出状态
Makefile:1206:目标'dnsdist‘的配方失败
make2:* dnsdist错误1
根:离开目录‘/make2/pdns/pdns/dnsdistdist’
Makefile:1443:目标'all-recursive‘的配方失败
make1:*全递归错误1
根:离开目录‘/make1/pdns/pdns/dnsdistdist’
Makefile:1077:目标'all‘的配方失败
make:* all Error 2
发布于 2021-04-16 05:11:27
您需要在链接器命令中添加"-lcrypto“。
https://stackoverflow.com/questions/66168794
复制相似问题