-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Unable to run rustc -v on Mac #124331
Comments
Thanks for the report! I believe this is an issue with the homebrew distribution. We have no control over that, so it would probably be best to report it on their issue tracker (https://github.com/Homebrew/homebrew-core/issues I think?). A user at rust-lang/cargo#13795 indicated that reinstalling llvm@17 helped them. |
Thanks |
Also do brew reinstall rustc , after above to fully resolve this issue |
You meant brew reinstall rustc-completion (at least in mac) |
506 rustc
507 brew reinstall rust
508 rustc
509 brew reinstall rust*
510 brew reinstall llvm
511 brew reinstall rustc-completion
512 rustc
513 brew reinstall rustc
514 brew reinstall llvm@18
515 rustc
516 history
HansJurgensMini:epas_migrator hs$ rustc
dyld[90108]: Symbol not found: __ZN4llvm10PGOOptionsC1ENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES7_S7_S7_NS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEENS0_9PGOActionENS0_11CSPGOActionEbb
Referenced from: <EEB49284-2EAD-3371-9401-139E8557678B> /opt/homebrew/Cellar/rust/1.77.2_1/lib/librustc_driver-3dc17bded25d4e59.dylib
Expected in: <B0C4597F-D1E6-36D5-83FD-81D0ACE34F6C> /opt/homebrew/Cellar/llvm/18.1.4/lib/libLLVM.dylib
Abort trap: 6
HansJurgensMini:epas_migrator hs$ uname -a
Darwin HansJurgensMini.dc1 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:41 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T8103 arm64 hello ... thank you for your excellent work, btw |
Macos: 14.4.1
Rust: 1.77.2
Error
Please help
Thanks
The text was updated successfully, but these errors were encountered: