openresty version: 1.27.1.1
apisix-nginx-module version: 1.19.2
After apply path to openresty , alter error as follow
2026/03/09 14:31:05 [alert] 12031#24477206: failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: /usr/local/openresty/lualib/resty/core/shdict.lua:146: declaration specifier expected near 'ngx_http_lua_shdict_get_params_t' at line 43) in /usr/local/openresty/nginx/conf/nginx.conf:117
I check the patch code, found that ngx_http_lua_shdict_get_params_t is still in used, but has been deleted in the next patch。 How can I fix this problem?
https://github.com/api7/apisix-nginx-module/blob/main/patch/1.27.1.1/ngx_lua-shared_shdict.patch
-int ngx_http_lua_ffi_shdict_get_macos( +int ngx_meta_lua_ffi_shdict_get_macos( ngx_http_lua_shdict_get_params_t *p); -int ngx_http_lua_ffi_shdict_store_macos( +int ngx_meta_lua_ffi_shdict_store_macos( ngx_http_lua_shdict_store_params_t *p); -int ngx_http_lua_ffi_shdict_incr_macos( +int ngx_meta_lua_ffi_shdict_incr_macos( ngx_http_lua_shdict_incr_params_t *p); ]]
https://github.com/api7/apisix-nginx-module/blob/main/patch/1.27.1.1/ngx_lua-shared_shdict.patch
`
-#if (NGX_DARWIN)
-typedef struct {
- void *zone;
- const unsigned char *key;
- size_t key_len;
- int *value_type;
- unsigned char **str_value_buf;
- size_t *str_value_len;
- double *num_value;
- int *user_flags;
- int get_stale;
- int *is_stale;
- char **errmsg;
-} ngx_http_lua_shdict_get_params_t;
`
openresty version: 1.27.1.1
apisix-nginx-module version: 1.19.2
After apply path to openresty , alter error as follow
2026/03/09 14:31:05 [alert] 12031#24477206: failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: /usr/local/openresty/lualib/resty/core/shdict.lua:146: declaration specifier expected near 'ngx_http_lua_shdict_get_params_t' at line 43) in /usr/local/openresty/nginx/conf/nginx.conf:117I check the patch code, found that ngx_http_lua_shdict_get_params_t is still in used, but has been deleted in the next patch。 How can I fix this problem?
https://github.com/api7/apisix-nginx-module/blob/main/patch/1.27.1.1/ngx_lua-shared_shdict.patch
-int ngx_http_lua_ffi_shdict_get_macos( +int ngx_meta_lua_ffi_shdict_get_macos( ngx_http_lua_shdict_get_params_t *p); -int ngx_http_lua_ffi_shdict_store_macos( +int ngx_meta_lua_ffi_shdict_store_macos( ngx_http_lua_shdict_store_params_t *p); -int ngx_http_lua_ffi_shdict_incr_macos( +int ngx_meta_lua_ffi_shdict_incr_macos( ngx_http_lua_shdict_incr_params_t *p); ]]https://github.com/api7/apisix-nginx-module/blob/main/patch/1.27.1.1/ngx_lua-shared_shdict.patch
`
-#if (NGX_DARWIN)
-typedef struct {
-} ngx_http_lua_shdict_get_params_t;
`