编译CNVnator时报[cnvnator] Error 1错误
问题现象描述
编译CNVnator时报[cnvnator] Error 1错误,报错信息类似:
/usr/bin/ld: samtools/htslib-1.9/libhts.a(hfile_s3.o): undefined reference to symbol 'HMAC@@libcrypto.so.10'
//usr/lib64/libcrypto.so.10: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [cnvnator] Error 1
关键过程、根本原因分析
编译链接出错。
结论、解决方案及效果
执行make命令时,使用以下命令:
make LIBS="-lcrypto"