/root/lnmp1.9/src/lua-nginx-module-0.10.14/src/ngx_http_lua_headers_in.c
In file included from /usr/include/dlfcn.h:25:0,
from src/os/unix/ngx_linux_config.h:58,
from src/core/ngx_config.h:26,
from /root/lnmp1.9/src/lua-nginx-module-0.10.14/src/ddebug.h:11,
from /root/lnmp1.9/src/lua-nginx-module-0.10.14/src/ngx_http_lua_headers_in.c:10:
/root/lnmp1.9/src/lua-nginx-module-0.10.14/src/ngx_http_lua_headers_in.c:162:18: error: ‘ngx_http_headers_in_t’ has no member named ‘cookies’
offsetof(ngx_http_headers_in_t, cookies),
^
make[1]: *** [objs/addon/src/ngx_http_lua_headers_in.o] Error 1
*) Change in internal API: now header lines are represented as linked
lists.
licess 发表于 2023-4-19 17:46
nginx 1.23.0 开始API发生变化导致的 http://nginx.org/en/CHANGES
启用lua模块升级nginx到1.23.0及更高 ...
yehkgu 发表于 2023-4-20 09:25
我也用lnmp 2.0 测试版升级过,还是会失败
还遇到这样情况用2.0测试版直接安装nginx 1.24.0 ++lua可以, ...
licess 发表于 2023-4-20 10:29
前几天更新的代码忘记同步了,你重新下载lnmp2.0的测试版进行升级
yehkgu 发表于 2023-4-21 13:12
谢谢,已经解决这个问题
就是重启nginx会有一个提醒
licess 发表于 2023-4-21 14:58
这个应该是你机器上老版本的luajit导致的,rm -rf /usr/local/luajit 删除后重新升级一下就会安装上新版 ...
| 欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) | Powered by Discuz! X3.4 |