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
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
Post a Comment