[Bug 264235] nginx-1.22.0_2,2 lua-resty-core-0.1.23 not working.

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 25 May 2022 13:22:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264235

            Bug ID: 264235
           Summary: nginx-1.22.0_2,2 lua-resty-core-0.1.23 not working.
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: bagas1983@mail.ru

Hello.
My system FreeBSD 12.3-RELEASE-p5 amd64.
My installed ports.
pkg version -v | egrep 'lua|nginx|pcre'
lua-resty-core-0.1.23              =   up-to-date with index
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.22.0_2,2                   =   up-to-date with index
pcre-8.45_1                        =   up-to-date with index
pcre2-10.40                        =   up-to-date with index

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

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 tetw tetw;
worker_processes 4;
timer_resolution 100ms;
worker_rlimit_nofile 65144;
worker_priority -5;
..
...
...
..
}

nginx -V
nginx version: nginx/1.22.0
built with OpenSSL 1.1.1l-freebsd  24 Aug 2021
TLS SNI support enabled
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I
/usr/local/include' --with-ld-opt='-L /usr/local/lib'
--conf-path=/usr/local/etc/nginx/nginx.conf --sbin-path=/usr/local/sbin/nginx
--pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log
--user=www --group=www --with-compat --modules-path=/usr/local/libexec/nginx
--with-file-aio --http-client-body-temp-path=/var/tmp/nginx/client_body_temp
--http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp
--http-proxy-temp-path=/var/tmp/nginx/proxy_temp
--http-scgi-temp-path=/var/tmp/nginx/scgi_temp
--http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp
--http-log-path=/var/log/nginx/access.log --with-http_v2_module
--with-http_addition_module --with-http_auth_request_module
--with-http_gunzip_module --with-http_gzip_static_module
--with-http_random_index_module --with-http_realip_module --with-pcre
--with-http_secure_link_module --with-http_slice_module --with-http_ssl_module
--with-http_stub_status_module --with-http_sub_module
--with-cc-opt='-DNGX_HAVE_INET6=0 -I /usr/local/include'
--without-mail_imap_module --without-mail_pop3_module
--without-mail_smtp_module --with-stream_ssl_module
--with-stream_ssl_preread_module --with-threads --with-stream=dynamic
--add-dynamic-module=/usr/ports/www/nginx/work/ngx_devel_kit-0.3.1
--add-dynamic-module=/usr/ports/www/nginx/work/lua-nginx-module-0.10.21

-- 
You are receiving this mail because:
You are the assignee for the bug.