Skip to content

Always build htslib without the libdeflate library#1

Open
dengste wants to merge 1 commit intoEvotec-Bioinformatics:masterfrom
dengste:build_htslib_without_libdeflate
Open

Always build htslib without the libdeflate library#1
dengste wants to merge 1 commit intoEvotec-Bioinformatics:masterfrom
dengste:build_htslib_without_libdeflate

Conversation

@dengste
Copy link

@dengste dengste commented Nov 8, 2021

If libdeflate is installed on the host, the configure script for htslib will
pick it up and link with it, leading to undefined symbols in the final link
since -ldeflate is missing from PKG_LIBS. We also cannot simply add it to
PKG_LIBS, since then we would get an error on hosts where libdeflate is
unavailable, so just configure htslib without libdeflate support.

If libdeflate is installed on the host, the configure script for htslib will
pick it up and link with it, leading to undefined symbols in the final link
since -ldeflate is missing from PKG_LIBS. We also cannot simply add it to
PKG_LIBS, since then we would get an error on hosts where libdeflate is
unavailable, so just configure htslib without libdeflate support.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant