`
The following warnings were emitted during compilation:
warning: couldn't execute llvm-config --prefix (error: No such file or directory (os error 2))
warning: set the LLVM_CONFIG_PATH environment variable to the full path to a valid llvm-config executable (including the executable itself)
error: failed to run custom build command for librocksdb-sys v6.11.4
Caused by:
process didn't exit successfully: /Users/igorstojanov/code/github-JK-lab/recipes/target/debug/build/librocksdb-sys-3cf225eb36eec98d/build-script-build (exit status: 101)
--- stdout
cargo:warning=couldn't execute llvm-config --prefix (error: No such file or directory (os error 2))
cargo:warning=set the LLVM_CONFIG_PATH environment variable to the full path to a valid llvm-config executable (including the executable itself)
--- stderr
thread 'main' panicked at 'libclang error; possible causes include:
Invalid flag syntax
Unrecognized flags
Invalid flag arguments
File I/O errors
Host vs. target architecture mismatch
If you encounter an error missing from this list, please file an issue or a PR!', /Users/igorstojanov/.cargo/registry/src/github.com-1ecc6299db9ec823/bindgen-0.54.0/src/ir/context.rs:573:15
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed
`
I am getting the following error on M1 chip.
` The following warnings were emitted during compilation:
warning: couldn't execute
llvm-config --prefix
(error: No such file or directory (os error 2)) warning: set the LLVM_CONFIG_PATH environment variable to the full path to a validllvm-config
executable (including the executable itself)error: failed to run custom build command for
librocksdb-sys v6.11.4
Caused by: process didn't exit successfully:
/Users/igorstojanov/code/github-JK-lab/recipes/target/debug/build/librocksdb-sys-3cf225eb36eec98d/build-script-build
(exit status: 101) --- stdout cargo:warning=couldn't executellvm-config --prefix
(error: No such file or directory (os error 2)) cargo:warning=set the LLVM_CONFIG_PATH environment variable to the full path to a validllvm-config
executable (including the executable itself)--- stderr thread 'main' panicked at 'libclang error; possible causes include:
RUST_BACKTRACE=1
environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... error: build failed `