On 6 Nov 2014, at 19:15, Shana Burrowes <shana.burro...@gmail.com> wrote: > I am trying to install Samtools and I keep getting the error below. What can > I do to fix it?: > > ./libbam.a(bam_import.o): In function `ks_getuntil': > /home/stine/samtools-0.1.1/bam_import.c:12: undefined reference to `gzread' [etc]
Your problem is that you are trying to compile the first ever release of samtools, namely 0.1.1 from six years ago. This release had a problem in its makefile that causes these failures on Linux distributions released in the last three years or so. You probably want to install the current 1.1 release instead. Cheers, John -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. ------------------------------------------------------------------------------ _______________________________________________ Samtools-help mailing list Samtools-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/samtools-help