Skip to content

Cannot install on Postmarketos

libclang does not support dynamic linking.

error: failed to run custom build command for `unfettered-keyboard v2.1.1 (/home/fried/.cargo/git/checkouts/unfettered-keyboard-23066169be3fb9aa/14b038a)`

Caused by:
  process didn't exit successfully: `/tmp/cargo-installb6Wpe8/release/build/unfettered-keyboard-b3b438400c299439/build-script-build` (exit status: 101)
  --- stderr

  thread 'main' panicked at /home/fried/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bindgen-0.70.1/lib.rs:622:27:
  Unable to find libclang: "the `libclang` shared library at /usr/lib/llvm19/lib/libclang.so.19.1.7 could not be opened: Dynamic loading not supported"
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `unfettered-keyboard v2.1.1 (https://gitlab.com/flamingradian/unfettered-keyboard.git#14b038a8)`, intermediate artifacts can be found at `/tmp/cargo-installb6Wpe8`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.