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

P and q values in RNA Seq

Update the TOC (table of content) of MS Word .docx documents with Python