Rust Cargo问题记录¶
概要: 记录和解决cargo构建编译中问题
创建时间: 2023.07.14 01:29:24
更新时间: 2023.07.30 23:36:53
linking with cc
failed: exit status: 1¶
问题¶
方法¶
Debian
Bash | |
---|---|
Bash | |
---|---|
failed to run custom build command for servo-fontconfig-sys v5.1.0
¶
问题¶
方法¶
Bash | |
---|---|
- [Cargo] error: failed to run custom build command for
[servo-fontconfig-sys v4.0.7](https://github.com/plotters-rs/plotters/issues/10)
· Issue #10 · plotters-rs/plotters · GitHub - centos - error while loading shared libraries: libfontconfig.so.1 on cent os - Stack Overflow
/usr/bin/ld: cannot find -lpcap¶
问题¶
原因:一般当遇到提示 /usr/bin/ld: cannot find -lxxx
时,代表缺失 xxx
相关的库软件包,找到后安装即可
方法¶
Bash | |
---|---|
failed to run custom build command for alsa-sys v0.3.1
¶
问题¶
方法¶
Bash | |
---|---|
- Unable to build / install with cargo: "failed to run custom build command for alsa-sys v0.1.2" · Issue #659 · Spotifyd/spotifyd · GitHub
- Search Results for alsa-lib-devel
参考¶
- gcc - How to fix linker error "cannot find crt1.o"? - Stack Overflow
- [Cargo] error: failed to run custom build command for
[servo-fontconfig-sys v4.0.7](https://github.com/plotters-rs/plotters/issues/10)
· Issue #10 · plotters-rs/plotters · GitHub - centos - error while loading shared libraries: libfontconfig.so.1 on cent os - Stack Overflow
- /usr/bin/ld: cannot find -lxxx 的解决办法 - zhming - 博客园
- Unable to build / install with cargo: "failed to run custom build command for alsa-sys v0.1.2" · Issue #659 · Spotifyd/spotifyd · GitHub
- Search Results for alsa-lib-devel