wtsi-npg / bambi

Process Illumina instrument data into SAM/BAM/CRAM files.
http://wtsi-npg.github.io/bambi
GNU Affero General Public License v3.0
9 stars 15 forks source link

Missing curl lib give misleading "wrong htslib version" error from configure script #167

Closed FredDodd6 closed 3 years ago

FredDodd6 commented 3 years ago

When libcurl4-openssl-dev is missing a misleading error is given when ./configure is run: configure: error: htslib version must be 1.3.1 or greater 188 checking checking htslib version... 189 Error: Process completed with exit code 1.

But within the config.log file, it fails on not having the curl library in place:

configure:12033: checking checking htslib version configure:12069: gcc -o conftest -Wall -g -O2 -I/home/runner/htslib/b/include -L/home/runner/htslib/b/lib -Wl,-R/home/runner/htslib/b/lib conftest.c -lhts -lz -ldl -lbz2 -llzma -lpthread -lcurl -lcrypto >&5 /usr/bin/ld: cannot find -lcurl collect2: error: ld returned 1 exit status configure:12069: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "bambi" | #define PACKAGE_TARNAME "bambi"