yfukasawa/LongQC

minimap2-coverage fatal error: zlib.h: No such file or directory

Closed this issue · 1 comments

Hi, I tried to compile minimap2-coverage within the cloned LongQC repo and seems to be missing a file

cd LongQC/minimap2-coverage && make cc -c -g -O2 -Wall -Wc++-compat -DHAVE_KALLOC minimap2-coverage.c -o minimap2-coverage.o minimap2-coverage.c:4:10: fatal error: zlib.h: No such file or directory 4 | #include <zlib.h> | ^~~~~~~~ compilation terminated. make: *** [Makefile:29: minimap2-coverage.o] Error 1

Any ideas?

I was missing the development support files for zlib so had to run

sudo apt-get install libz-dev

and make then ran without issues