Skip to content

rustc cannot find librustc when installed with rustup.sh #15684

Closed
@mpdn

Description

@mpdn

I recently installed rustc with rustup.sh on an Arch Linux x64 machine, but executing rustc after installation (no matter the parameters) results in this error:

rustc: error while loading shared libraries: librustc-4e7c5e5c.so: cannot open shared object file: No such file or directory

This is even though librustc-4e7c5e5c.so can be found in both ./usr/local/lib/librustc-4e7c5e5c.so and ./usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-4e7c5e5c.so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions