启动EMQ(emqtt)时报错找不到libsctp.so.1
libsctp.so.1: cannot open shared object file: No such file or directory
发现没有安装sctp
[root@localhost emqttd]# yum search sctp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.lzu.edu.cn
* extras: mirrors.btte.net
* updates: mirrors.btte.net
============================================================================================== N/S matched: sctp ==============================================================================================
lksctp-tools.i686 : User-space access to Linux Kernel SCTP
lksctp-tools.x86_64 : User-space access to Linux Kernel SCTP
lksctp-tools-devel.i686 : Development files for lksctp-tools
lksctp-tools-devel.x86_64 : Development files for lksctp-tools
lksctp-tools-doc.x86_64 : Documents pertaining to SCTP
选择安装 lksctp-tools-devel.x86_64
yum install lksctp-tools-devel.x86_64
安装完成,再次启动emqtt时 正常启动
[root@localhost emqttd]# ./bin/emqttd start
emqttd 2.2 is started successfully!