

免费资源网 – https://freexyz.cn/
当前系统基于Centos8版本,编译Nginx,报错如下:
./configure: error: ngx_http_lua_module requires the Lua library.尝试安装lua依赖yum install lua-devel,但是问题依旧
我这里解决办法:
添加wlnmp源
rpm -ivh https://mirrors.wlnmp.com/centos/wlnmp-release-centos.noarch.rpm安装luaJIT2
yum install wluaJIT2添加至/etc/profile
vi /etc/profileexport LUAJIT_LIB=/usr/local/lib export LUAJIT_INC=/usr/local/include/luajit-2.1保存退出,使其生效
source /etc/profile
免费资源网 – https://freexyz.cn/
© 版权声明
THE END
暂无评论内容