I'm having an issue with the installation of the package (v 0.5.6) on my Linux system (distribution is centos 6.7; gcc version 5.3.0). When compiling the source code I get the following error when running the 'make' command:
LINKER:/gfs/apps/apps/gcc-5.3.0/bin/g++ -O3 -Wall -Wextra -std=c++14 -lstdc++
LD_FLAGS:-lgsl -lgslcblas -lm -lz
src/libStatGen/libStatGen.a(GzipFileType.o): In function GzipFileType::GzipFileType(char const*, char const*)': GzipFileType.cpp:(.text+0x4d): undefined reference to gzopen64'
src/libStatGen/libStatGen.a(GzipFileType.o): In function GzipFileType::seek(long, int)': GzipFileType.cpp:(.text._ZN12GzipFileType4seekEli[_ZN12GzipFileType4seekEli]+0x9): undefined reference to gzseek64'
src/libStatGen/libStatGen.a(GzipFileType.o): In function GzipFileType::tell()': GzipFileType.cpp:(.text._ZN12GzipFileType4tellEv[_ZN12GzipFileType4tellEv]+0x5): undefined reference to gztell64'
collect2: error: ld returned 1 exit status
bin.stu:17:5: command for bin/ssimp failed with exit status 1
make: *** [bin/ssimp] Error 1
Is this an issue with zlib? I'm currently using version 1.2.3 (July 18th 2005).
Thanks,
Ben
I'm having an issue with the installation of the package (v 0.5.6) on my Linux system (distribution is centos 6.7; gcc version 5.3.0). When compiling the source code I get the following error when running the 'make' command:
LINKER:/gfs/apps/apps/gcc-5.3.0/bin/g++ -O3 -Wall -Wextra -std=c++14 -lstdc++
LD_FLAGS:-lgsl -lgslcblas -lm -lz
src/libStatGen/libStatGen.a(GzipFileType.o): In function
GzipFileType::GzipFileType(char const*, char const*)': GzipFileType.cpp:(.text+0x4d): undefined reference togzopen64'src/libStatGen/libStatGen.a(GzipFileType.o): In function
GzipFileType::seek(long, int)': GzipFileType.cpp:(.text._ZN12GzipFileType4seekEli[_ZN12GzipFileType4seekEli]+0x9): undefined reference togzseek64'src/libStatGen/libStatGen.a(GzipFileType.o): In function
GzipFileType::tell()': GzipFileType.cpp:(.text._ZN12GzipFileType4tellEv[_ZN12GzipFileType4tellEv]+0x5): undefined reference togztell64'collect2: error: ld returned 1 exit status
bin.stu:17:5: command for bin/ssimp failed with exit status 1
make: *** [bin/ssimp] Error 1
Is this an issue with zlib? I'm currently using version 1.2.3 (July 18th 2005).
Thanks,
Ben