Open dhwani2410 opened 4 years ago
htslib is expecting -lcurl
which is not in the shapeit makefile.
You could run ./configure --disable-libcurl
before making htslib or add -lcurl
to the shapeit makefile.
For my computer, it was not sufficient to add -lcurl to the -DYN_LIBS line in the makefile, I also had to add -lcrypto
/home/dhwani/Documents/Phasing/extra_softwares/htslib-1.10.2/hfile_libcurl.c:297: undefined reference to `curl_global_cleanup' collect2: error: ld returned 1 exit status makefile:46: recipe for target 'bin/shapeit4' failed make: *** [bin/shapeit4] Error 1