redis-server --version
redis-cli --version
apt-get install build-essential
git clone https://github.com/RedisJSON/RedisJSON.git
git checkout v1.0.3
cd rejson/
make
cd src/
mkdir /etc/redis/modules/
mv rejson.so /etc/redis/modules/
loadmodule /etc/redis/modules/rejson.so
service redis-server restart
--
--- 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/kushagra/.cargo/registry/src/github.com-1ecc6299db9ec823/bindgen-0.59.2/src/lib.rs:2144:31note: run with
RUST_BACKTRACE=1
environment variable to display a backtracewarning: build failed, waiting for other jobs to finish...
error: build failed
make: *** [Makefile:166: build] Error 10
I am getting this, when I enter the make command??