本文主要是介绍Failed to load NIF library /opt/emqx/lib/quicer-0.0.114/priv/libquicer_nif: ‘libatomic.so.1,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
项目场景:
提示:这里简述项目相关背景:
安装emqx5.0.25 报错:
{“Kernel pid terminated”,application_controller,“{application_start_failure,kernel,{{shutdown,{failed_to_start_child,kernel_safe_sup,
{on_load_function_failed,quicer_nif,{{badmatch,{error,{load_failed,“Failed to load NIF library /opt/emqx/lib/quicer-0.0.114/priv/libquicer_nif: ‘libatomic.so.1: cannot open shared object file: No such file or directory’”}}},[{quicer_nif,init,0,[{file,“quicer_nif.erl”},{line,58}]},{init,‘-run_on_load_handlers/2-fun-0-’,1,[]}]}}}},{kernel,start,[normal,[]]}}}”}
问题描述
安装emqx包以上错误。查看log日志为
{“Kernel pid terminated”,application_controller,“{application_start_failure,kernel,{{shutdown,{failed_to_start_child,kernel_safe_sup,
{on_load_function_failed,quicer_nif,{{badmatch,{error,{load_failed,“Failed to load NIF library /opt/emqx/lib/quicer-0.0.114/priv/libquicer_nif: ‘libatomic.so.1: cannot open shared object file: No such file or directory’”}}},[{quicer_nif,init,0,[{file,“quicer_nif.erl”},{line,58}]},{init,‘-run_on_load_handlers/2-fun-0-’,1,[]}]}}}},{kernel,start,[normal,[]]}}}”}。
通过 查看服务器,
rpm -qa | grep libatomic
发现没有libatomic包,然后再网上下载了此包,再执行
rpm -ivh libatomic-4.8.5-44.el7.x86_64.rpm
再次查看
ldconfig -p | grep libatomic
最后执行./emqx start success
这篇关于Failed to load NIF library /opt/emqx/lib/quicer-0.0.114/priv/libquicer_nif: ‘libatomic.so.1的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!