-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
nightly cargo dyn linking to openssl fails on os x #3303
Comments
For comparison, output of
|
Ah yes this happened recently due to upgrading to openssl-sys 0.9. I need to modify the builders of the OSX nightlies to prefer a static linking of OpenSSL than a dynamic. |
alexcrichton
added a commit
to alexcrichton/cargo
that referenced
this issue
Nov 21, 2016
Now that Cargo requires OpenSSL >= 1.0.1 transitively through the `openssl-sys` 0.9 release the dynamic libraries for OpenSSL are no longer located on OSX by default. This means that the support necessary for libssh2 needs to be statically linked rather than dynamically linked. Closes rust-lang#3303
bors
added a commit
that referenced
this issue
Nov 21, 2016
Link OpenSSL statically on OSX Now that Cargo requires OpenSSL >= 1.0.1 transitively through the `openssl-sys` 0.9 release the dynamic libraries for OpenSSL are no longer located on OSX by default. This means that the support necessary for libssh2 needs to be statically linked rather than dynamically linked. Closes #3303
This was referenced Nov 23, 2016
Nightly 2016-11-25 works, thanks! |
alexcrichton
added a commit
to alexcrichton/cargo
that referenced
this issue
Dec 1, 2016
Now that Cargo requires OpenSSL >= 1.0.1 transitively through the `openssl-sys` 0.9 release the dynamic libraries for OpenSSL are no longer located on OSX by default. This means that the support necessary for libssh2 needs to be statically linked rather than dynamically linked. Closes rust-lang#3303
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
system: OS X El Capitan 10.11.6
I installed rustup via https://www.rustup.rs/ choosing x86_64-apple-darwin and nightly. Installation succeeded, but then executing
cargo
failed with the following:Missing dyn lib: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
output of
otool -L
:Discussion in #rust-beginners pointed out that
/usr/local/opt/openssl
is a symlink into/usr/local/Cellar
, indicating that nightly cargo may have recently (inadvertently?) created a dependency on Homebrew.The text was updated successfully, but these errors were encountered: