Open ryanhossain9797 opened 4 years ago
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.
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 oncepackage
openssl-sys v0.7.17
... which is depended on byopenssl v0.7.14
... which is depended on bycookie v0.2.5
... which is depended on byhyper v0.9.18
... which is depended on bydiscord v0.8.0
... which is depended on byterminal_alpha_beta v0.1.0 (/home/zireael9797/Storage/WebDev/rust/terminal_alpha_beta)
links to native libraryopenssl
package
openssl-sys v0.9.56
... which is depended on bynative-tls v0.2.4
... which is depended on byhyper-tls v0.4.1
... which is depended on byreqwest v0.10.4
... which is depended on byserenity v0.8.6
... which is depended on byterminal_alpha_beta v0.1.0 (/home/zireael9797/Storage/WebDev/rust/terminal_alpha_beta)
also links to native libraryopenssl