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

Maxim Dounin mdounin на mdounin.ru
Пт Май 27 14:06:07 UTC 2022


Hello!

On Fri, May 27, 2022 at 02:33:21AM -0400, bagas wrote:

> 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.)
> 
> Thanks for the info.
> I had to fix the port /usr/ports/www/nginx/.
> When will the situation with pcre2 be resolved?

That's the question to the author of the lua module.

-- 
Maxim Dounin
http://mdounin.ru/



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