Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how does different version dependence libs work together #16817

Closed
meagon opened this issue Aug 28, 2014 · 3 comments
Closed

how does different version dependence libs work together #16817

meagon opened this issue Aug 28, 2014 · 3 comments

Comments

@meagon
Copy link

meagon commented Aug 28, 2014

avl.rs:10:1: 10:17 error: found possibly newer version of crate openssl which db depends on
avl.rs:10 extern crate db; a system with 2 different version openssl

@alexcrichton
Copy link
Member

Can you explain the issue a bit more, this is pretty cryptic as-is and it's difficult to understand the question here.

@meagon
Copy link
Author

meagon commented Sep 3, 2014

with different version of one share library , how could them compile together , for example rust-postgres
depends on openssl-#123, rust-http depends on openeel-#456, there exists a project need both rust-postgres and rust-http, how can i do to compile them together to one execute program.

@alexcrichton
Copy link
Member

The rust compiler supports multiple versions of the same library through symbol mangling, and cargo supports the same as well. It sounds like there's not much of a bug here, so I'm going to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants