You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to compile Openresty for PPC platforms but unable to start the same due the following issue :
lua_load_resty_core failed to load the resty.core module from https://github.com/openresty/lua-resty-core; ensure you are using an OpenResty release from https://openresty.org/en/download.html (rc: 2, reason: /usr/binos/openresty/lualib/resty/core/base.lua:23: ngx_http_lua_module 0.10.15 required)
OpenResty version : openresty/1.15.8.3
OS version : Linux ztp_RP_1 4.9.238 #1 SMP Mon Oct 12 17:19:38 UTC 2020 ppc ppc ppc GNU/Linux
Since, Nginx doesn't even start so nothing to share with Nginx error logs here.
The base.lua seems to be failing around this check :
if subsystem == 'http' then
if not ngx.config
or not ngx.config.ngx_lua_version
or ngx.config.ngx_lua_version ~= 10015
then
error("ngx_http_lua_module 0.10.15 required")
end
I broke the three conditions to see the variable's status here and I found that ngx.config.ngx_lua_version is not set to anything. As per my finding till now, the variable should have been set in build/ngx_lua-0.10.15/src/ngx_http_lua_config.c.
I am unsure why this is not set properly.
Please, note that we do compile the same Openresty for other type of platforms(ARM/X86_64) and it does come up fine.
Also, Kindly note the flags used for building Luajit for this:
I am able to compile Openresty for PPC platforms but unable to start the same due the following issue :
lua_load_resty_core failed to load the resty.core module from https://github.com/openresty/lua-resty-core; ensure you are using an OpenResty release from https://openresty.org/en/download.html (rc: 2, reason: /usr/binos/openresty/lualib/resty/core/base.lua:23: ngx_http_lua_module 0.10.15 required)
OpenResty version :
openresty/1.15.8.3
OS version :
Linux ztp_RP_1 4.9.238 #1 SMP Mon Oct 12 17:19:38 UTC 2020 ppc ppc ppc GNU/Linux
Since, Nginx doesn't even start so nothing to share with Nginx error logs here.
The base.lua seems to be failing around this check :
I broke the three conditions to see the variable's status here and I found that
ngx.config.ngx_lua_version
is not set to anything. As per my finding till now, the variable should have been set inbuild/ngx_lua-0.10.15/src/ngx_http_lua_config.c
.I am unsure why this is not set properly.
Please, note that we do compile the same Openresty for other type of platforms(ARM/X86_64) and it does come up fine.
Also, Kindly note the flags used for building Luajit for this:
Any kind of help here would be much appreciated!
The text was updated successfully, but these errors were encountered: