Skip to content

Improving installation on local directory by updating LD_LIBRARY_PATH #28917

@jlmenut

Description

@jlmenut

When installing rust in a local directory on linux (not /usr/local but /home/name/rust for example), it is necessary to update LD_LIBRARY_PATH with the path to the rust libraries.

For example, in bash:

export LD_LIBRARY_PATH="/path/to/library":$LD_LIBRARY_PATH

An improvement of rustup.sh would be to make the installer update the shell configuration file or at least warn the user to update it.

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