lvaruzza / bam2sff

bam2sff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compile error on Ubuntu 14.04.2 LTS

skner opened this issue · comments

On Ubuntu, after installing all needed libs (like cmake, boost and zlib) there still were linker errors like:

BgzfStream_p.cpp:(.text+0x171): undefined reference to `deflateEnd'

The solution to this problem was to change the library order in the Makefile (src folder) to:

LIBS=-lpthread ../bamtools/lib/libbamtools.a -lz