安装Rabbitmq出现的错误

错误信息1:"/bin/sh: line 1: xmlto: command not found"错误信息2:usr/bin/env: escript: no such file or directory错误信息3:the on_load function for module erlzmq_nif returned {error,
{bad_lib,
"function not found erlzmq_nif:socket/4"}}错误信息4:error while loading shared libraries: libprotobuf.so.8: cannot open shared object file: no such file or directory
错误信息5:** reason for termination ==
** {'module could not be loaded',
[{rabbit_net,send,},
terminate: {{undef,
[{rabbit_net,send,错误6:error while loading shared libraries: libzmq.so.3: cannot open shared object file: no such file or directory

已邀请:

Something - 90后IT男

赞同来自:

错误1解决方法:yum -y install xmlto错误2解决方法:ln -s /usr/local/erlang/bin/escript /usr/sbin/escript错误3解决方法: 重新编译erlzmq库cd super_logger/src make把 ../ebin目录下的erlzmq相关(erlzmq打头的).beam文件copy到目标项目的 ebin目录 错误4解决方法: ln -s /usr/local/protobuf/lib/libprotobuf.so.8.0.0 /usr/lib/libprotobuf.so.8错误5解决方法: 启动erlang 的,需要指定rabbitmq的库路径错误6解决方法: 做一个软链接: sudo ln -s /usr/local/zeromq/lib/libzmq.so.3.0.0 /usr/lib/libzmq.so.3 如果还不能解决:执行 sudo /sbin/ldconfig 。因为ldconfig为动态链接库管理命令,一般在系统启动时运行,当安装了新的动态链接库后,需要手动执行此命令

要回复问题请先登录注册