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

Not able to run nightly cargo on OS X 10.11.6 + MacPorts #3329

Closed
vvv opened this issue Nov 25, 2016 · 3 comments
Closed

Not able to run nightly cargo on OS X 10.11.6 + MacPorts #3329

vvv opened this issue Nov 25, 2016 · 3 comments

Comments

@vvv
Copy link

vvv commented Nov 25, 2016

$ rustup run nightly cargo --version
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /Users/vvv/.multirust/toolchains/nightly-x86_64-apple-darwin/bin/cargo
  Reason: image not found
$ 
$ rustup run nightly rustc --version
rustc 1.15.0-nightly (d5814b03e 2016-11-23)

#3303 and #3320 are closed, yet the problem is still there on my machine.

$ otool -L ~/.multirust/toolchains/nightly-x86_64-apple-darwin/bin/cargo | grep libssl
        /usr/local/opt/openssl/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
$ 
$ port contents openssl | grep libssl
  /opt/local/lib/libssl.1.0.0.dylib
  /opt/local/lib/libssl.a
  /opt/local/lib/libssl.dylib
  /opt/local/lib/pkgconfig/libssl.pc
@rillian
Copy link
Contributor

rillian commented Nov 25, 2016

It looks like this is because there's been no new nightly build of cargo since #3315 landed. On my system:

$ rustup run nightly cargo --version
cargo 0.16.0-nightly (d1bfc01 2016-11-18)

But the merge was 2 days ago, 2016-11-22.

@vvv
Copy link
Author

vvv commented Nov 25, 2016

It looks like this is because there's been no new nightly build of cargo since #3315 landed.

Sounds like a bug of the build system. Unless the word “nightly“ is not supposed to be taken literally. :)

@vvv
Copy link
Author

vvv commented Nov 25, 2016

Works now.

$ rustup update
info: syncing channel updates for 'stable-x86_64-apple-darwin'
info: syncing channel updates for 'nightly-x86_64-apple-darwin'
info: downloading component 'rustc'
 33.9 MiB /  33.9 MiB (100 %)   4.1 MiB/s ETA:   0 s
info: downloading component 'rust-std'
 43.8 MiB /  43.8 MiB (100 %)   6.3 MiB/s ETA:   0 s
info: downloading component 'cargo'
  3.2 MiB /   3.2 MiB (100 %) 685.7 KiB/s ETA:   0 s
info: installing component 'rustc'
info: installing component 'rust-std'
info: installing component 'cargo'
info: checking for self-updates

  stable-x86_64-apple-darwin unchanged - rustc 1.13.0 (2c6933acc 2016-11-07)
   nightly-x86_64-apple-darwin updated - rustc 1.15.0-nightly (d9bdc636d 2016-11-24)

$ 
$ rustup run nightly cargo --version
cargo 0.16.0-nightly (bd283a7 2016-11-24)
$ 
$ date
Fri Nov 25 22:42:07 EET 2016

\o/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants