discord-rs
discord-rs copied to clipboard
Multiple packages linking to OpenSSL
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
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.
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.