Skip to content

Issue with zlib for compliing code? #112

@bch-bda

Description

@bch-bda

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions