Rust bindgen tool relies on libclang shared library (configurable via CLANG_PATH + LIBCLANG_PATH). A version can be installed from the ubuntu clang packages, but then there are 2 different versions of clang used for builds, which can be problematic.