我要评分
获取效率
正确性
完整性
易理解

[cnvnator] Error 1 Reported During CNVnator Compilation

Symptom

"[cnvnator] Error 1" is reported during CNVnator compilation. The error information is similar to the following:

/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

Key Process and Cause Analysis

An error occurs during compilation and linking.

Conclusion and Solution

Run the following make command:

make LIBS="-lcrypto"