arq5x / lumpy-sv

lumpy: a general probabilistic framework for structural variant discovery
MIT License
306 stars 118 forks source link

zlib error #106

Open kdaily opened 8 years ago

kdaily commented 8 years ago

When installing the latest release (0.2.11) I get the following error when compiling (CentoOS 6.7):

  * compiling SV_VcfVariant.cpp
  * compiling log_space.cpp
  * linking lumpy
../../obj//gzstream.o: In function `gzstreambuf::open(char const*, int)':
gzstream.C:(.text+0x2a2): undefined reference to `gzopen64'
collect2: ld returned 1 exit status
make[1]: *** [lumpy] Error 1
make: *** [all] Error 2

I checked that zlib and zlib-devel are installed (version 1.2.3). Any suggestions?

Thank you!

kdaily commented 8 years ago

Looks like it requires a newer version of zlib (probably >= 1.2.3.3). Had the same problem with samtools.

ryanlayer commented 8 years ago

I added the "ZLIB_PATH" to the main Makefile in LUMPY to make fixing this easier. Download and compile the latest version, then set the variable to the path of the top level zlib directory (e.g. $(HOME)/src/zlib-1.2.8).

On Wed, Nov 25, 2015 at 11:36 AM, Kenneth Daily notifications@github.com wrote:

Looks like it requres a newer version of zlib (probably >= 1.2.3.3). Had the same problem with samtools.

— Reply to this email directly or view it on GitHub https://github.com/arq5x/lumpy-sv/issues/106#issuecomment-159696556.

Ryan Layer