New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nginx+lua-nginx-module+luajit2-2.1 nginx启动报错 #1723
Comments
nginx服务和端口是启动起来了,但是启动有error |
Please provide detailed compilation steps. You can refer to the links below |
same error on aarch64 [root@wgw-oe2003-ppy sbin]# ./nginx -V [root@wgw-oe2003-ppy sbin]# ./nginx follow the below step to install nginx how can i resolve the problem only use this module in nginx simplely additional info: |
you can use ldd nginx to check the path of libluajit.so |
/usr/local/nginx-1.16.1/sbin/nginx
nginx: [error] failed to run the Lua code for coroutine.wrap(): 2: coroutine.wrap:2: module 'thread.exdata' not found:
no field package.preload['thread.exdata']
no file './thread/exdata.lua'
no file '/usr/local/share/luajit-2.0.4/thread/exdata.lua'
no file '/usr/local/share/lua/5.1/thread/exdata.lua'
no file '/usr/local/share/lua/5.1/thread/exdata/init.lua'
no file './thread/exdata.so'
no file '/usr/local/lib/lua/5.1/thread/exdata.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './thread.so'
no file '/usr/local/lib/lua/5.1/thread.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
yum -y install zlib zlib-devel openssl openssl--devel pcre pcre-devel
下载LuaJIT wget https://luajit.org/download/luajit2-2.1.tar.gz
下载ngx_devel_kit wget https://github.com/vision5/ngx_devel_kit/archive/v0.3.1.tar.gz
下载ngx_lua https://github.com/openresty/lua-nginx-module/archivev/0.10.14.tar.gz
下载nginx wget https://nginx.org/download/nginx-1.16.1.tar.gz
The text was updated successfully, but these errors were encountered: