Hello @mustafa-guler,
I have no problem compile it on a self-owned Debian 12 system (clang was installed via sudo apt-get install clang). However on a several where clang is often installed via some module load, library path are from a different path than the case before. Any idea when I can make changes in build.rs to allow it to find clang libraries?
error below:
--- stderr
thread 'main' panicked at /home/jianshu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.65.1/lib.rs:603:31:
Unable to find libclang: "the libclang shared library at /usr/lib64/clang-private/libclang.so.7 could not be opened: libclangAST.so.7: cannot open shared object file: No such file or directory"
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Thanks,
Jianshu
Hello @mustafa-guler,
I have no problem compile it on a self-owned Debian 12 system (clang was installed via sudo apt-get install clang). However on a several where clang is often installed via some module load, library path are from a different path than the case before. Any idea when I can make changes in build.rs to allow it to find clang libraries?
error below:
--- stderr
thread 'main' panicked at /home/jianshu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.65.1/lib.rs:603:31:
Unable to find libclang: "the
libclangshared library at /usr/lib64/clang-private/libclang.so.7 could not be opened: libclangAST.so.7: cannot open shared object file: No such file or directory"note: run with
RUST_BACKTRACE=1environment variable to display a backtraceThanks,
Jianshu