bazelbuild / bazelbuild/rules_rust
rust_bindgen rule requires additional system libraries
Open
bindgen
bug
needs-triage
- Dominant language
- Starlark
- Stars
- 843
- Forks
- 651
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 15
Description
After trying to use the rust_bindgen rule for the first time, it fails because it cannot find the `libtinfo.so.5` library. This can be resolved by installing the libtinfo5 package on ubuntu. Should it be included in the default toolchain?
```
thread 'main' panicked at 'Unable to find libclang: "the `libclang` shared library at bazel-out/host/bin/_solib_k8/_U@bindgen_Uclang_Ulinux_S_S_Clibclang.so___Ubindgen_Uclang_Ulinux_Slib/libclang.so could not be opened: libtinfo.so.5: cannot open shared object file: No such file or directory"', external/rules_rust_bindgen__bindgen__0_55_1/src/lib.rs:1896:31
```
Contributor guide
Assessment
This issue has not been assessed yet.