-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Lua unresolved symbol: lua_checkstack #2251
Copy link
Copy link
Closed
Description
Lua unresolved symbol: receiving an error loading a lua module lrexlib.
Description:
I'm trying to use the lua filter (fully understanding its experimental). One of our users requires the use of libpcre but we're running into issues including the lrexlib lua library
error:
[2017-12-21 20:15:15.243][32732][error][lua] source/common/http/filter/lua/lua_filter.cc:485] script log: error loading module 'rex_pcre' from file '/usr/local/lib/lua/5.1/rex_pcre.so':
/usr/local/lib/lua/5.1/rex_pcre.so: undefined symbol: lua_checkstack
The script in question could be summarized as
local rex = require "rex_pcre"
match = rex.match(referrerHeader, '^\\/search\\?.*category=.*')
Reactions are currently unavailable