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

raven_kg на megaline.kg raven_kg на megaline.kg
Вс Май 29 05:24:03 UTC 2022


Hi,

I believe you can reach them by opening a github issue 
https://github.com/openresty/lua-nginx-module/issues


28.05.2022 12:33, bagas wrote:
> 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.
>
> Posted at Nginx Forum: https://forum.nginx.org/read.php?21,294266,294302#msg-294302
>
> _______________________________________________
> nginx-ru mailing list -- nginx-ru на nginx.org
> To unsubscribe send an email to nginx-ru-leave на nginx.org




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