error: failed to run custom build command for `openssl-sys `

2023-05-16

error: failed to run custom build command for `openssl-sys v0.9.60`

遇到这个问题需要安装最新的libssl包,

1,执行命令:sudo apt install libssl-dev

2,清除.lock 文件和 target文件夹  rm Cargo.lock  & rm -rf target/

3,再次执行 cargo run

结论:改问题是ssl库升级导致调,更新到最新到ssl库即可解决,祝好运

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

error: failed to run custom build command for `openssl-sys ` 的相关文章

随机推荐