-
Notifications
You must be signed in to change notification settings - Fork 931
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 builds on macOS fails to load some dynamic libraries #3117
Comments
Same problem. |
This should be fixed in the latest nightly. Can you try to update again? FWIW, this is a duplicate of rust-lang/rust#104570. |
rustup doesn't show any updates for the nightly yet, I'll probably be able to update later. |
After updating my nightly to the latest the error persists $ rustup update
info: syncing channel updates for 'stable-x86_64-apple-darwin'
info: syncing channel updates for 'nightly-x86_64-apple-darwin'
info: latest update on 2022-11-27, rust version 1.67.0-nightly (80a96467e 2022-11-26)
info: downloading component 'cargo'
4.6 MiB / 4.6 MiB (100 %) 550.4 KiB/s in 8s ETA: 0s
info: downloading component 'clippy'
2.0 MiB / 2.0 MiB (100 %) 281.6 KiB/s in 8s ETA: 0s
info: downloading component 'rust-docs'
19.3 MiB / 19.3 MiB (100 %) 787.2 KiB/s in 21s ETA: 0s
info: downloading component 'rust-std'
29.0 MiB / 29.0 MiB (100 %) 944.0 KiB/s in 35s ETA: 0s
info: downloading component 'rustc'
55.4 MiB / 55.4 MiB (100 %) 1.1 MiB/s in 1m 8s ETA: 0s
info: downloading component 'rustfmt'
2.5 MiB / 2.5 MiB (100 %) 946.2 KiB/s in 2s ETA: 0s
info: removing previous version of component 'cargo'
info: removing previous version of component 'clippy'
info: removing previous version of component 'rust-docs'
info: removing previous version of component 'rust-std'
info: removing previous version of component 'rustc'
info: removing previous version of component 'rustfmt'
info: installing component 'cargo'
4.6 MiB / 4.6 MiB (100 %) 2.6 MiB/s in 2s ETA: 0s
info: installing component 'clippy'
info: installing component 'rust-docs'
19.3 MiB / 19.3 MiB (100 %) 1.6 MiB/s in 19s ETA: 0s
info: installing component 'rust-std'
29.0 MiB / 29.0 MiB (100 %) 2.8 MiB/s in 10s ETA: 0s
info: installing component 'rustc'
55.4 MiB / 55.4 MiB (100 %) 2.9 MiB/s in 18s ETA: 0s
info: installing component 'rustfmt'
info: checking for self-updates
stable-x86_64-apple-darwin unchanged - rustc 1.65.0 (897e37553 2022-11-02)
nightly-x86_64-apple-darwin updated - (error reading rustc version) (from (error reading rustc version))
info: cleaning up downloads & tmp directories
$ rustup show
Default host: x86_64-apple-darwin
rustup home: /Users/goose/.rustup
installed toolchains
--------------------
stable-x86_64-apple-darwin
nightly-x86_64-apple-darwin (default)
active toolchain
----------------
nightly-x86_64-apple-darwin (default)
(error reading rustc version)
$ rustc --version
dyld: Library not loaded: @rpath/librustc_driver-582242ced547d33f.dylib
Referenced from: /Users/goose/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rustc
Reason: no suitable image found. Did find:
/Users/goose/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/../lib/librustc_driver-582242ced547d33f.dylib: cannot load 'librustc_driver-582242ced547d33f.dylib' (load command 0x80000034 is unknown)
/Users/goose/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/../lib/librustc_driver-582242ced547d33f.dylib: stat() failed with errno=1
/Users/goose/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/librustc_driver-582242ced547d33f.dylib: cannot load 'librustc_driver-582242ced547d33f.dylib' (load command 0x80000034 is unknown)
/Users/goose/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/librustc_driver-582242ced547d33f.dylib: stat() failed with errno=1
Abort trap: 6 if #104570 has been closed then how has this seemingly not been resolved? I think I might be doing something incorrectly in this case. |
You're not doing anything incorrectly. Unfortunately the fix didn't resolve the issue. We'll need to wait for more investigation. I recommend closing this issue and following rust-lang/rust#104570 for updates. |
Follow rust-lang/rust#104570 to see if this has been resolved. |
Problem
dynamic library loading fails, similar to #2290
Steps
(see below)
Possible Solution(s)
the error messages talk about a load command being unknown, perhaps there's something to do with the executable in my version of macOS (10.14.6)
Notes
my stable is at 1.65.0 (897e37553 2022-11-02)
Rustup version
Installed toolchains
The text was updated successfully, but these errors were encountered: