Skip to content

Symlinked libraries after commit #12164 #12459

Closed
@pethin

Description

@pethin

When compiling, rustc produces the error:

src/gen/main.rs:1:1: 1:1 error: multiple rlib candidates for `std` found
src/gen/main.rs:1 // Copyright 2013 The gl-rs developers. For a full listing of the authors,
                  ^
src/gen/main.rs:1:1: 1:1 note: candidate #1: /usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-966edb7e-0.10-pre.rlib
src/gen/main.rs:1 // Copyright 2013 The gl-rs developers. For a full listing of the authors,
                  ^
src/gen/main.rs:1:1: 1:1 note: candidate #2: /usr/lib/libstd-966edb7e-0.10-pre.rlib
src/gen/main.rs:1 // Copyright 2013 The gl-rs developers. For a full listing of the authors,
                  ^
src/gen/main.rs:1:1: 1:1 error: multiple dylib candidates for `std` found
src/gen/main.rs:1 // Copyright 2013 The gl-rs developers. For a full listing of the authors,
                  ^
src/gen/main.rs:1:1: 1:1 note: candidate #1: /usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-966edb7e-0.10-pre.so
src/gen/main.rs:1 // Copyright 2013 The gl-rs developers. For a full listing of the authors,
                  ^
src/gen/main.rs:1:1: 1:1 note: candidate #2: /usr/lib/libstd-966edb7e-0.10-pre.so
src/gen/main.rs:1 // Copyright 2013 The gl-rs developers. For a full listing of the authors,
                  ^
error: aborting due to 2 previous errors

The libraries in /usr/lib/ are symlinked to the libraries in /usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/.

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