Skip to content

How to compile without system zlib? #1932

@mjsteinbaugh

Description

@mjsteinbaugh

Hi @alexdobin , I'm trying to write an install recipe for STAR that uses a version pinned external zlib library, rather than using system zlib. I've tried a couple of approaches without success (e.g. setting CPPFLAGS, LDFLAGS, LDLIBS, etc.; adjusting htslib Makefile).

My install script is here, for reference:
https://github.com/acidgenomics/koopa/blob/main/lang/bash/include/install/common/shared/star.sh

It seems like this is an issue that keeps popping up, without a solution other than installing system zlib, which may not be an option on some Linux instances without admin permissions:

Potentially related htslib issues:

Any advice would be much appreciated!

Best,
Mike

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