Skip to content

Lua unresolved symbol: lua_checkstack #2251

@taion809

Description

@taion809

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=.*')

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions