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

nightly rustc is dynamically linked to libz.so.1 #74249

Closed
timothee-haudebourg opened this issue Jul 11, 2020 · 1 comment
Closed

nightly rustc is dynamically linked to libz.so.1 #74249

timothee-haudebourg opened this issue Jul 11, 2020 · 1 comment

Comments

@timothee-haudebourg
Copy link

I've just updated the nightly toolchain using rustup, and now rustc crashes because it cannot find libz.so.1 on my machine:

$HOME/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

Is that intended? It causes some problems on NixOS where libz is not available yet. I've tried it on two NixOS machines and ran into the same issue. The stable toolchain works fine.

@nagisa
Copy link
Member

nagisa commented Jul 11, 2020

Yes, intended. Since you're seeing this problem you are most likely using the overlay, so you want to update to include this fix.

Otherwise its a packaging issue in nixpkgs. Closing.

@nagisa nagisa closed this as completed Jul 11, 2020
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