heitao 发表于 2022-7-18 21:18:29

upgrade升级nginx时候报错!!

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

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

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

licess 发表于 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版本是否自行升级过?
页: [1]
查看完整版本: upgrade升级nginx时候报错!!