Prompt for error in trust build:
error: failed to run custom build command for `librocksdb-sys v6.17.3`
Details:
...
Compiling ed25519-dalek v1.0.1
Compiling tracing-subscriber v0.2.17
Compiling schnorrkel v0.9.1
Compiling addr2line v0.14.1
Compiling prost-build v0.7.0
Compiling mio-uds v0.6.8
error: failed to run custom build command for `librocksdb-sys v6.17.3`
Caused by:
process didn't exit successfully: `/home/y/IdeaProjects/MinixChain/target/release/build/librocksdb-sys-6de902cd8dc81c39/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to find libclang: "couldn\'t find any valid shared libraries matching: [\'libclang.so\', \'libclang-*.so\', \'libclang.so.*\', \'libclang-*.so.*\'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', /home/y/.cargo/registry/src/github.com-1ecc6299db9ec823/bindgen-0.57.0/src/lib.rs:1975:31
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed
Solution:
sudo apt install llvm clang
Read More:
- How to Solve error: command ‘C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin\nvcc.exe‘ failed
- [Solved] Linux Start jar Error: nohup: failed to run command ‘java‘: No such file or directory
- NPM run dev Error Module build failed: Error: Cannot find module ‘node-sass’
- [Solved] NPM run build package error: Ineffective mark-compacts near heap limit Allocation failed – JavaScript heap out of memory
- How to Solve Docker ERROR: Service’workspace’ failed to build: ERROR: Service’php-fpm’ failed to build
- [Solved] docker failed to solve: failed to solve with frontend dockerfile.v0: failed to create LLB definition
- [Solved] “Failed to run kubelet“ err=“failed to run Kubelet: misconfiguration: kubelet cgroup driver: \“cgrou
- Error 1 error MSB3721: Command ““C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin\nvcc.exe” -genco
- Jenkins uses NPM to build Vue error, and the manual build is normal
- Error while trying to run project:unable to start debugging.the debugger is not properly installed. run setup to install or repa
- How to Solve MVC Error: Build failed.
- [Solved] Intellij IDEA Run Error: Command line is too long
- [Solved] failed to req API:localhost:8848/nacos/v1/ns/instance. code:500 msg: java.net.ConnectException
- Failed to find Build Tools revision 30.0.3 [How to Solve]
- [Solved] Error running ‘go build myfir_go_project‘: Cannot run program
- [Solved] Flutter compile error: Failed to find Build Tools revision 29.0.2
- [Solved] MacOS terminal Run git command Error: xcrun: error: invalid active developer path
- How to Solve Import antd Error: Module build failed
- [Solved] Android Project error: import android.support.v4 (V7). App.activitycompat
- [Solved] Installing github.com/uudashr/gopkgs/v2/cmd/gopkgs@latest FAILED和cannot install, GOBIN must be an ab