rust-lang / rust-lang/rust-analyzer
patched rust-analyzer for NixOS doesn't work: "symbol lookup error"
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
rust-analyzer version: not exactly sure because:
/home/paulg/.config/Code/User/globalStorage/rust-lang.rust-analyzer/rust-analyzer: symbol lookup error: /usr/lib/libc.so.6: undefined symbol: _dl_audit_symbind_alt, version GLIBC_PRIVATE
but this is the one automatically installed and patched by the extension at 0.3.1066
rustc version: rustc 1.63.0-nightly (ebbcbfc23 2022-05-27)
The issue persist with extension at 0.4.1073
I'm on NixOS with channel nixos-22.05 using vscode-fhs and the extension from the vscode store, not nixos.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the rust-analyzer troubleshooting guide and reproduce the failure using the extension-installed binary at /home/paulg/.config/Code/User/globalStorage/rust-lang.rust-analyzer/rust-analyzer on NixOS with vscode-fhs. Compare the reported 0.3.1066 and 0.4.1073 behavior and investigate the libc.so.6 symbol lookup error. Done means the automatically installed extension binary starts successfully in this environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nixos, rust, vscode
- Domain
- devtools, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100