启动redis-server 报shared libraries: libjemalloc.so.1错误解决

Starting redis-server: /usr/bin/redis-server: error while loading shared libraries: libjemalloc.so.1: cannot open shared object file: No such file or directory



确保你的/etc/ld.so.conf里面有 /usr/local/lib 这一行 没有的话vim编辑在尾行加上
然后 sudo ldconfig


首先可以sudo find . -name "libjemalloc.so.1" 查看该文件

如何export 其路径。export LD_LIBRARY_PATH=$HOME/.../bin


---
io大数据

孙钱设计师