Skip to content

"multiple dylibs candidates for std" found #36022

@brson

Description

@brson

Original report

This project links against libssh2, which is installed in /usr/local/, as is the Rust compiler. With Rust 1.11, I needed to add -rustc-link-search = ["/usr/local/lib"] in my Cargo config, to make it find libssh2. With Rust 1.12-beta1, this is no longer needed, and if present, causes error E0465.

@csperkins can you share the repo this reproduces with, or provide a reduced test case?

Nominating because this is a beta regression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binariesT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions