Currently having issues with the build of the repo.
Code:
$ cargo build --locked --release
Compiling librocksdb-sys v5.18.5
error: failed to run custom build command for `librocksdb-sys v5.18.5`
Caused by:
process didn't exit successfully: `/home/dev/github/urbit-bitcoin-rpc/electrs/target/release/build/librocksdb-sys-0cf3b1ac2605ed4d/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-changed=build.rs
--- stderr
thread 'main' panicked at 'Unable to find libclang: "couldn\'t find any valid shared libraries matching: [\'libclang.so\', \'libclang-*.so\', \'libclang.so.*\'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', src/libcore/result.rs:1188:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
To fix this issue, I have tried to set the LIBCLANG_PATH environment variable to the path of the libclang shared library on my system. Also I have set the LIBCLANG_PATH environment variable by adding the following line to my ~/.bashrc file:
export LIBCLANG_PATH=path/to/libclang
Currently having issues with the build of the repo.
Code:
To fix this issue, I have tried to set the LIBCLANG_PATH environment variable to the path of the libclang shared library on my system. Also I have set the LIBCLANG_PATH environment variable by adding the following line to my ~/.bashrc file:
export LIBCLANG_PATH=path/to/libclang