Error when install htslib in Ubuntu

Error message when `make`:

gcc -g -Wall -O2 -I.  -c -o cram/cram_io.o cram/cram_io.c
cram/cram_io.c:57:19: fatal error: bzlib.h: No such file or directory
compilation terminated.
Makefile:120: recipe for target 'cram/cram_io.o' failed


Solved by:
 sudo  apt-get install libbz2-1.0 libbz2-dev libbz2-ocaml libbz2-ocaml-dev

Comments

Popular posts from this blog

gspread error:gspread.exceptions.SpreadsheetNotFound

Miniconda installation problem: concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.

转载:彻底搞清楚promoter, exon, intron, and UTR