Skip to content

make install fails to install core libraries with correct permissions #5742

Closed
@mstewartgallus

Description

@mstewartgallus

I built Rust from source, and installed it on a Free Software distro (Trisquel 6.0) based off of Ubuntu 12.04. When I installed it I ran into errors compiling a simple hello world test program. The compiler said it could not find the core library. Upon investigation, I found that the installer had not properly set the permissions of the core library folders. I needed to manually set the permissions away from only allowing root to access the libraries to allowing everyone to access the libraries. In code:

chmod g+rx,o+rx /usr/local/lib/rustc/x86_64-unknown-linux-gnu
chmod g+rx,o+rx /usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib

The commands to build were:

./configure
make
sudo make install

Edit: Later today I tried reinstalling with git master (last time I had used the 0.6 release version), and realized that I had accidentally omitted one of the libraries with the incorrect permissions. I had also had to have done:

chmod g+rx,o+rx /usr/local/lib/rustc

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