星云链安装./neb: error while loading shared libraries: libnebulasv8.so: cannot open shared object file
问题描述:
安装星云链执行到./neb -c conf/default/config.conf报错./neb: error while loading shared libraries: libnebulasv8.so: cannot open shared object file: No such file or directory
问题解决:
当按照步骤执行到 下面代码时 即使用以下命令启动您的第一个星云节点时:
./neb -c conf/default/config.conf
报错:
./neb: error while loading shared libraries: libnebulasv8.so: cannot open shared object file: No such file or directory
截图如下:
查找相关网上资料
Nginx启动出错 error while loading shared libraries:(可点击)
得出结论:缺少依赖性库,应该在 /lib64中设置,64位系统(在 /lib设置没有成功)
软连接linnebulasv8.so后,再使用 ./neb -c conf/default/config.conf 查看,发现依赖库文件not found项只剩下一个了,说明设置成功。
ln -s /usr/local/lib/libnebulasv8.so libnebulasv8.so
截图如下:
以此类推,设置其余的库文件,ln -s 源文件 目标文件 ,源文件在 /usr/local/lib/目录中,软连接至/lib64/中,目标文件根据上图not foun 之前名称设置
(在lib64文件目录下设置)
cd /lib64
ln -s /usr/local/lib/librocksdb.so.5.13 librocksdb.so.5.13
后面设置成功后,可能还出现其他的,可以一并解决
然后又出现新的(同理解决)
然后我的环境是没有了,下图是全部的
然后在执行就成功了
如果你觉得帮助了你,不要忘记点赞偶,谢谢。