错误详细信息:

./sbin/nginx: error while loading shared libraries: libluajit-5.1.so.2: 
cannot open shared object file: No such file or directory

错误背景:
搭建nginx+lua环境,启动nginx遇到这样的错误。

错误原因:
nginx中有lua相关库需要有lua环境才能运行起来。

解决错误,核心代码(安装lua环境即可):

yum -y install lua*

参考解决问题链接:
/usr/local/nginx/sbin/nginx: error while loading shared libraries: libluajit-5.1.so.2: cannot open

相关文章:

  • 2021-10-04
  • 2022-12-23
  • 2021-10-15
  • 2021-04-04
  • 2022-02-23
  • 2021-09-29
猜你喜欢
  • 2022-12-23
  • 2021-12-12
  • 2021-12-26
  • 2021-08-29
  • 2021-08-02
  • 2022-12-23
  • 2021-10-13
相关资源
相似解决方案