Welcome! Log In Create A New Profile

Advanced

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

May 28, 2022 02:33AM
Maxim Dounin Wrote:
-------------------------------------------------------
> 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 mailing list -- nginx-ru@nginx.org
> To unsubscribe send an email to nginx-ru-leave@nginx.org


How to contact the developer of the lua module?
I want to inform him about this situation.
Subject Author Posted

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

bagas May 25, 2022 02:33AM

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

bagas May 25, 2022 02:38AM

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

Илья Шипицин May 25, 2022 02:42AM

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

bagas May 25, 2022 02:53AM

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

Maxim Dounin May 25, 2022 04:44PM

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

bagas May 27, 2022 02:33AM

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

Maxim Dounin May 27, 2022 10:08AM

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

bagas May 28, 2022 02:33AM

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

raven_kg@megaline.kg May 29, 2022 01:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 52
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready