Skip to content

Nightly rustc needs libz.so.1 to run #92946

@timothee-haudebourg

Description

@timothee-haudebourg

Issue description

When installed with rustup, the Rust nightly compiler crashes with:

$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

Steps to reproduce

  • Install rustup
  • Run rustup install nightly
  • Run $HOME/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc

Technical details

 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.116, NixOS, 19.09.2520.289466dd6a1 (Loris)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.3`
 - channels(timothee): `"nixpkgs-20.09pre233919.aba048f0bf2"`
 - channels(root): `"nixos-19.09.2520.289466dd6a1"`
 - nixpkgs: `$HOME/.nix-defexpr/channels/nixpkgs`

Metadata

Metadata

Assignees

No one assigned

    Labels

    6.topic: rustGeneral-purpose programming language emphasizing performance, type safety, and concurrency.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions