[MacPorts] #65165: nginx @1.21.6+lua: lua_load_resty_core failed to load the resty.core module
MacPorts
noreply at macports.org
Thu May 12 07:23:01 UTC 2022
#65165: nginx @1.21.6+lua: lua_load_resty_core failed to load the resty.core module
------------------------+-------------------------
Reporter: ryandesign | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Keywords: | Port: nginx
------------------------+-------------------------
This appears in my error.log when I start nginx if it has been built with
the +lua variant:
{{{
2022/05/12 02:19:49 [alert] 18057#0: detected a LuaJIT version which is
not OpenResty's; many optimizations will be disabled and performance will
be compromised (see https://github.com/openresty/luajit2 for OpenResty's
LuaJIT or, even better, consider using the OpenResty releases from
https://openresty.org/en/download.html)
2022/05/12 02:19:49 [error] 18057#0: 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: module 'resty.core'
not found:
no field package.preload['resty.core']
no file '../lua-resty-core/lib/resty/core.lua'
no file '../lua-resty-lrucache/lib/resty/core.lua'
no file './resty/core.lua'
no file '/opt/local/share/luajit-2.1.0-beta3/resty/core.lua'
no file '/usr/local/share/lua/5.1/resty/core.lua'
no file '/usr/local/share/lua/5.1/resty/core/init.lua'
no file '/opt/local/share/lua/5.1/resty/core.lua'
no file '/opt/local/share/lua/5.1/resty/core/init.lua'
no file './resty/core.so'
no file '/usr/local/lib/lua/5.1/resty/core.so'
no file '/opt/local/lib/lua/5.1/resty/core.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './resty.so'
no file '/usr/local/lib/lua/5.1/resty.so'
no file '/opt/local/lib/lua/5.1/resty.so'
no file '/usr/local/lib/lua/5.1/loadall.so')
}}}
I haven't yet tried to use any lua directives so I don't know whether they
still work despite this message.
--
Ticket URL: <https://trac.macports.org/ticket/65165>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list