Skip to content

Linking fails without zlib #111

@barracuda156

Description

@barracuda156

Not sure how this was supposed to work, since nothing in the build passes -lz, but linking fails without it with a lot of undefined symbols like _uncompress, all of which sit in zlib.
Adding /opt/local/lib/libz.a (assuming MacPorts paths and preference for static linking) to this

LDADD_STATIC="${STATIC_LIBSSLDIR}/libssl.a ${STATIC_LIBSSLDIR}/libcrypto.a"
line fixes the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions