Skip to content

Snapshot rustc depends on libtinfo.so.5 #9334

Closed
@sfackler

Description

@sfackler

libtinfo is part of ncurses, but is not always compiled into a separate library. On Arch Linux, for example, trying to compile raises this error:

x86_64-unknown-linux-gnu/stage0/bin/rustc: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
make: *** [x86_64-unknown-linux-gnu/stage0/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd.so] Error 127

Running

sudo ln -s /usr/lib/ncurses.so.5 /usr/lib/libtinfo.so.5

fixes the problem, but isn't a great solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions