rust: `bindgen` is unable to generate any bindings
I've tried to follow the bindgen tutorial and create some bindings as described there. When I try to
cargo build the project, I hit the following error (clang etc. is set up):
Unable to find libclang: "the `libclang` shared library at /usr/lib/libclang.so.10 could not be opened: Dynamic loading not supported
https://github.com/rust-lang/rust-bindgen/issues/1867 seems to point to the use of
features = ["static"], which yields
could not find any static libraries.