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

bagas nginx-forum на forum.nginx.org
Пт Май 27 06:33:21 UTC 2022


Maxim Dounin Wrote:
-------------------------------------------------------
> Hello!
> 
> On Wed, May 25, 2022 at 02:33:10AM -0400, bagas wrote:
> 
> > 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
> 
> This looks like a lua module issue, it tries to use pcre_free() 
> directly instead of using nginx interfaces, and fails because 
> nginx was compiled with PCRE2 instead of PCRE.  Try to recompile 
> nginx with PCRE instead of PCRE2, this should work till the issue 
> in the lua module is fixed.
> 
> (The nginx-devel port provides explicit options to do PCRE vs. 
> PCRE2 selection.  The nginx port maintainer probably should copy 
> this.)
> 
> -- 
> Maxim Dounin
> http://mdounin.ru/
> _______________________________________________
> nginx-ru mailing list -- nginx-ru на nginx.org
> To unsubscribe send an email to nginx-ru-leave на nginx.org


Thanks for the info.
I had to fix the port /usr/ports/www/nginx/.
When will the situation with pcre2 be resolved?

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



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