-
Notifications
You must be signed in to change notification settings - Fork 34
curl+hyper+crustls fails to build on macOS due to Security.framework linkage #127
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
Comments
There's a couple ways to resolve this, off the top of my head. I filed this issue in |
Thank you @tgeoghegan ! |
I'm able to work around this during curl compilation by manually setting CPPFLAGS="-framework Security" in the environment. So now I'm running into the UnknownIssuer cert issue instead :) |
I don't believe this issue is relevant with tip-of-main. If I'm mistaken and someone can reproduce with tip, or the 0.14.0 release, please comment and we can revisit. |
@kevinburke reports a failure building
curl
:I believe the problem here is that the
gcc
invocation is missing-framework Security
, needed to resolveSecRandomCopyBytes
. That symbol is needed byring::rand::SecureRandom
on macOS (see also briansmith/ring#149). However, buildingcurl
with--without-secure-transport
causes it to not link Security.framework when building on Darwin.The text was updated successfully, but these errors were encountered: