nginx-1.22 lua-resty-core-0.1.23 not working.

bagas nginx-forum на forum.nginx.org
Ср Май 25 06:53:56 UTC 2022


Илья Шипицин Wrote:
-------------------------------------------------------
> please provide minimal repro steps, i.e. how to reproduce your issue
> on
> fresh FreeBSD-12.3
> 
> ср, 25 мая 2022 г. в 11:33, bagas <nginx-forum на forum.nginx.org>:
> 
> > Hello.
> > nginx-1.22 lua-resty-core-0.1.23 not working.
> >
> > My system FreeBSD 12.3-RELEASE-p5 amd64.
> > Installed ports:
> > nginx-1.22.0,2
> > lua-resty-core-0.1.23
> > pcre-8.45_1
> > pcre2-10.40
> >
> > Error:
> > nginx -t
> > nginx: [emerg] dlopen()
> "/usr/local/libexec/nginx/ngx_http_lua_module.so"
> > failed (/usr/local/libexec/nginx/ngx_http_lua_module.so: Undefined
> symbol
> > "pcre_free") in /usr/local/etc/nginx/nginx.conf:2
> > nginx: configuration file /usr/local/etc/nginx/nginx.conf test
> failed
> >
> > Posted at Nginx Forum:
> > https://forum.nginx.org/read.php?21,294266,294266#msg-294266
> >
> > _______________________________________________
> > nginx-ru mailing list -- nginx-ru на nginx.org
> > To unsubscribe send an email to nginx-ru-leave на nginx.org
> >
> _______________________________________________
> nginx-ru mailing list -- nginx-ru на nginx.org
> To unsubscribe send an email to nginx-ru-leave на nginx.org

Installed ports.
# pkg version -v | egrep 'lua|nginx|pcre'
lua-resty-core-0.1.22              <   needs updating (index has 0.1.23)
lua-resty-lrucache-0.11            =   up-to-date with index
lua52-5.2.4                        =   up-to-date with index
lua53-5.3.6                        =   up-to-date with index
luajit-openresty-2.1.20220411      =   up-to-date with index
nginx-1.20.2_9,2                   <   needs updating (index has 1.22.0,2)
pcre-8.45_1                        =   up-to-date with index
pcre2-10.40                        =   up-to-date with index

.
# cat /usr/local/etc/nginx/nginx.conf
load_module /usr/local/libexec/nginx/ndk_http_module.so;
load_module /usr/local/libexec/nginx/ngx_http_lua_module.so;

user test_reyw test_reyw;
worker_processes 4;
timer_resolution 100ms;
worker_rlimit_nofile 65144;
worker_priority -5;
....
....
....

Posted at Nginx Forum: https://forum.nginx.org/read.php?21,294266,294269#msg-294269



Подробная информация о списке рассылки nginx-ru