-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Compilation fails to link static libcurl on macOS <= 10.13 #68
Comments
Good news, this was fixed upstream by alexcrichton/curl-rust#314 and alexcrichton/curl-rust#283! Actually looks like 0.4.25 only contains one of the fixes. We'll have to prod upstream to make a new patch release that we can add as a minimum requirement (probably 0.4.26...). |
I'd like to pull in #283 downstream so that I can close sagebind/isahc#68. Master has everything needed now, I just need a new version...
|
This is now fixed in the 0.9.0 release! |
curl requires openssl which makes is impossible to be able to be built out of box for musl targets. Do you think there is anything to do about this ? |
I think for musl targets the appropriate solution would be to either disable the |
See alexcrichton/curl-rust#279.
Statically linking to libcurl is currently broken on macOS <= 10.13 due to a missing symbol.
Generally static linking is preferred unless there's a good reason not to do it, because it means you are running against a consistent, immutable version of the library and have less system dependencies; both of which are great for portability and testability.
We could either wait for this to get fixed upstream and recommend that people disable the
static-curl
feature, or disable it by default, or find another workaround.There does appear to already be an upstream PR to fix this, so it might be worth waiting it out to see if it is merged and published soon: alexcrichton/curl-rust#283
The text was updated successfully, but these errors were encountered: