VPS侦探论坛

 找回密码
 注册
查看: 1760|回复: 1

upgrade升级nginx时候报错!!

[复制链接]
发表于 2022-7-18 21:18:29 | 显示全部楼层 |阅读模式

如题,我是老版本的nignx想升级到1.18.0版本,外加ssl_preread_module扩展。前两台机器没有问题,最后一台机器以前留的lnmp文件夹删掉了。我从新下载了个版本打算执行upgrade升级一下nignx,结果报错127。

日志我传到附件里,不是很大。

前两台我升级nginx是以前安装lnmp没有删掉,用文件夹里的upgrade直接升级。最后一台机器是删掉了。我又从新下了个1.9的升级nginx失败,下了个1.6的也是同样的失败。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-7-19 10:21:35 | 显示全部楼层


        -L/usr/local/luajit/lib -Wl,-rpath,/usr/local/luajit/lib -Wl,-E -ldl -lrt -lpthread -lcrypt -L/usr/local/luajit/lib -lluajit-5.1 -lm -ldl -lpcre /root/lnmp1.6/src/openssl-1.1.1d/.openssl/lib/libssl.a /root/lnmp1.6/src/openssl-1.1.1d/.openssl/lib/libcrypto.a -ldl -lpthread -lz \
        -Wl,-E
objs/addon/src/ngx_http_lua_regex.o: In function `ngx_http_lua_regex_free_study_data':
/root/lnmp1.6/src/lua-nginx-module-0.10.14/src/ngx_http_lua_regex.c:2017: undefined reference to `pcre_free_study'
objs/addon/src/ngx_http_lua_regex.o: In function `ngx_http_lua_ffi_destroy_regex':
/root/lnmp1.6/src/lua-nginx-module-0.10.14/src/ngx_http_lua_regex.c:2417: undefined reference to `pcre_free_study'
objs/addon/src/ngx_http_lua_regex.o: In function `ngx_http_lua_ffi_compile_regex':
/root/lnmp1.6/src/lua-nginx-module-0.10.14/src/ngx_http_lua_regex.c:2272: undefined reference to `pcre_assign_jit_stack'
objs/addon/src/ngx_http_lua_regex.o: In function `ngx_http_lua_ngx_re_gmatch':
/root/lnmp1.6/src/lua-nginx-module-0.10.14/src/ngx_http_lua_regex.c:829: undefined reference to `pcre_assign_jit_stack'
objs/addon/src/ngx_http_lua_regex.o: In function `ngx_http_lua_ngx_re_match_helper':
/root/lnmp1.6/src/lua-nginx-module-0.10.14/src/ngx_http_lua_regex.c:362: undefined reference to `pcre_assign_jit_stack'
objs/addon/src/ngx_http_lua_regex.o: In function `ngx_http_lua_ffi_set_jit_stack_size':
/root/lnmp1.6/src/lua-nginx-module-0.10.14/src/ngx_http_lua_regex.c:1952: undefined reference to `pcre_jit_stack_free'
/root/lnmp1.6/src/lua-nginx-module-0.10.14/src/ngx_http_lua_regex.c:1959: undefined reference to `pcre_jit_stack_alloc'
collect2: ld returned 1 exit status

你用的什么系统及版本?
是否修改了编译参数或lnmp.conf,修改了哪些参数?
系统上的pcre版本是否自行升级过?
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-20 10:46 , Processed in 0.025645 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表