/usr/local/openresty/lualib/ngx/re.lua:47: missing declaration for symbol 'ngx_http_lua_ffi_exec_regex'

Summary

(7*24 Online)
Installed with source. but always face below issue when migrations bootstrap, which stuck me for 3 days.
As I known, which should be happened under openresty 1.15.8.1 only, but my version is 1.15.8.2. Still not work? EXTREMELY appreciated your response.

Error: 
/usr/local/openresty/lualib/ngx/re.lua:47: missing declaration for symbol 'ngx_http_lua_ffi_exec_regex'
stack traceback:
        [C]: in function '__index'
        /usr/local/openresty/lualib/ngx/re.lua:47: in main chunk
        [C]: in function 'require'
        /usr/local/share/lua/5.1/kong/pdk/log.lua:14: in main chunk
        [C]: in function 'require'
        /usr/local/share/lua/5.1/kong/pdk/init.lua:292: in function 'new'
        /usr/local/share/lua/5.1/kong/global.lua:116: in function 'init_pdk'
        /usr/local/share/lua/5.1/kong/cmd/migrations.lua:92: in function 'cmd_exec'
        /usr/local/share/lua/5.1/kong/cmd/init.lua:88: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:88>
        [C]: in function 'xpcall'
        /usr/local/share/lua/5.1/kong/cmd/init.lua:88: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:45>
        /usr/local/bin/kong:9: in function 'file_gen'
        init_worker_by_lua:50: in function <init_worker_by_lua:48>
        [C]: in function 'xpcall'
        init_worker_by_lua:57: in function <init_worker_by_lua:55>

Below is the source from /usr/local/openresty/lualib/ngx/re.lua:47

image

Can not find any about ngx_http_lua_ffi_exec_regex under openresty source.
image

Below is My Installation Process

  1. Install openresty
cd openresty-1.15.8.2
./configure    \
--with-pcre-jit    \
--with-http_ssl_module    \
--with-http_realip_module    \
--with-http_stub_status_module    \
--with-http_v2_module \
--with-openssl=/path/to/openssl-1.1.1d    \
--with-pcre=/path/to/pcre-8.44
gmake
gmake install
  1. Install Luarock
cd luarocks-3.2.1
./configure   \
--lua-suffix=jit    \
--with-lua=/usr/local/openresty/luajit    \
--with-lua-include=/usr/local/openresty/luajit/include/luajit-2.1
make
make install
  1. Install Kong
cd kong-2.0.1
make install

and get below message

kong 2.0.1-0 is now installed in /usr/local (license: Apache 2.0)

Steps To Reproduce

  1. kong migrations bootstrap -c /path/to/kong.conf

Additional Details & Logs

  • Openresty (1.15.8.2)
  • Kong version (2.0.1)
  • Luarocks (3.2.1)
  • PCRE (8.44)
  • Openssl (1.1.1d)
  • Operating system (Linux)

Supplement Information

# can be found the resource under openresty compilation
[~] ls -ltr ngx_http_lua_regex.o 
-rw-r--r-- 1 root root 178832 Feb 28 18:07 ngx_http_lua_regex.o
[~] pwd
/path/to/openresty-1.15.8.2/build/nginx-1.15.8/objs/addon/src