Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify library order for openssl linking. #7826

wants to merge 1 commit into from


Copy link

I've been having issues linking fully static openssl, libz, and libcrypto libraries to curl, with undefined libz symbols coming from libcrypto during configure. This small re-ordering of libraries in openssl.m4 fixes the issue. Happy for any feedback on whether or not this is the correct way to patch.

lcrypto may depend on lz, and configure corrently fails with when
statically linking as the order is "-lz -lcrypto". This commit switches
the order to "-lcrypto -lz".
Copy link

bagder commented Oct 8, 2021


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Successfully merging this pull request may close these issues.

None yet

3 participants