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

Multiple packages linking to OpenSSL #162

Open
ryanhossain9797 opened this issue May 23, 2020 · 2 comments
Open

Multiple packages linking to OpenSSL #162

ryanhossain9797 opened this issue May 23, 2020 · 2 comments

Comments

@ryanhossain9797
Copy link

I'm facing an issue with the dependency openssl-sys v0.7.17, which links to openssl. Multiple other packages also depend on openssl-sys v0.9.56. I've tried removing the dependency on serenity but there are others too. Any way to work around this?

error: multiple packages link to native library openssl, but a native library can be linked only once

package openssl-sys v0.7.17
... which is depended on by openssl v0.7.14
... which is depended on by cookie v0.2.5
... which is depended on by hyper v0.9.18
... which is depended on by discord v0.8.0
... which is depended on by terminal_alpha_beta v0.1.0 (/home/zireael9797/Storage/WebDev/rust/terminal_alpha_beta)
links to native library openssl

package openssl-sys v0.9.56
... which is depended on by native-tls v0.2.4
... which is depended on by hyper-tls v0.4.1
... which is depended on by reqwest v0.10.4
... which is depended on by serenity v0.8.6
... which is depended on by terminal_alpha_beta v0.1.0 (/home/zireael9797/Storage/WebDev/rust/terminal_alpha_beta)
also links to native library openssl

@SpaceManiac
Copy link
Owner

I'm not sure why you're trying to use discord and serenity at the same time. Your best bet is probably to use only serenity, since it uses a newer openssl which is less likely to conflict with a third package.

@ryanhossain9797
Copy link
Author

As I mentioned serenity is just an example. There are others that also use a newer openssl. I tried removing serenity and others showed up with the same issue. I can't use serenity for certain reasons.

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