[MacPorts] #65150: nginx +lua: undefined symbols
MacPorts
noreply at macports.org
Tue May 10 03:30:47 UTC 2022
#65150: nginx +lua: undefined symbols
------------------------+--------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.99
Keywords: | Port: nginx
------------------------+--------------------
Building with the +lua variant fails if the pcre2 port is installed:
{{{
sudo port -n build nginx +lua -fancyindex -flv -http2 -mp4 -secure_link
-ssl -stream
}}}
{{{
:info:build Undefined symbols for architecture x86_64:
:info:build "_pcre_assign_jit_stack", referenced from:
:info:build _ngx_http_lua_ngx_re_gmatch in ngx_http_lua_regex.o
:info:build _ngx_http_lua_ffi_compile_regex in ngx_http_lua_regex.o
:info:build _ngx_http_lua_ngx_re_match_helper in
ngx_http_lua_regex.o
:info:build "_pcre_compile", referenced from:
:info:build _ngx_http_lua_regex_compile in ngx_http_lua_regex.o
:info:build "_pcre_dfa_exec", referenced from:
:info:build _ngx_http_lua_ffi_exec_regex in ngx_http_lua_regex.o
:info:build _ngx_http_lua_ngx_re_match_helper in
ngx_http_lua_regex.o
:info:build _ngx_http_lua_ngx_re_gmatch_iterator in
ngx_http_lua_regex.o
:info:build _ngx_http_lua_ngx_re_sub_helper in ngx_http_lua_regex.o
:info:build "_pcre_exec", referenced from:
:info:build _ngx_http_lua_ffi_exec_regex in ngx_http_lua_regex.o
:info:build _ngx_http_lua_ngx_re_match_helper in
ngx_http_lua_regex.o
:info:build _ngx_http_lua_ngx_re_gmatch_iterator in
ngx_http_lua_regex.o
:info:build _ngx_http_lua_ngx_re_sub_helper in ngx_http_lua_regex.o
:info:build "_pcre_free", referenced from:
:info:build _ngx_http_lua_pcre_malloc_init in ngx_http_lua_pcrefix.o
:info:build _ngx_http_lua_pcre_malloc_done in ngx_http_lua_pcrefix.o
:info:build "_pcre_free_study", referenced from:
:info:build _ngx_http_lua_ngx_re_gmatch in ngx_http_lua_regex.o
:info:build _ngx_http_lua_ffi_compile_regex in ngx_http_lua_regex.o
:info:build _ngx_http_lua_ffi_destroy_regex in ngx_http_lua_regex.o
:info:build _ngx_http_lua_ngx_re_match_helper in
ngx_http_lua_regex.o
:info:build _ngx_http_lua_ngx_re_gmatch_cleanup in
ngx_http_lua_regex.o
:info:build _ngx_http_lua_ngx_re_gmatch_iterator in
ngx_http_lua_regex.o
:info:build _ngx_http_lua_ngx_re_sub_helper in ngx_http_lua_regex.o
:info:build ...
:info:build "_pcre_fullinfo", referenced from:
:info:build _ngx_http_lua_ffi_compile_regex in ngx_http_lua_regex.o
:info:build _ngx_http_lua_regex_compile in ngx_http_lua_regex.o
:info:build _ngx_http_lua_ngx_re_match_helper in
ngx_http_lua_regex.o
:info:build _ngx_http_lua_ngx_re_gmatch_iterator in
ngx_http_lua_regex.o
:info:build _ngx_http_lua_ngx_re_sub_helper in ngx_http_lua_regex.o
:info:build "_pcre_jit_stack_alloc", referenced from:
:info:build _ngx_http_lua_ffi_set_jit_stack_size in
ngx_http_lua_regex.o
:info:build "_pcre_jit_stack_free", referenced from:
:info:build _ngx_http_lua_ffi_set_jit_stack_size in
ngx_http_lua_regex.o
:info:build "_pcre_malloc", referenced from:
:info:build _ngx_http_lua_pcre_malloc_init in ngx_http_lua_pcrefix.o
:info:build _ngx_http_lua_pcre_malloc_done in ngx_http_lua_pcrefix.o
:info:build (maybe you meant: _ngx_http_lua_pcre_malloc_init,
_ngx_http_lua_pcre_malloc_done )
:info:build "_pcre_study", referenced from:
:info:build _ngx_http_lua_ngx_re_gmatch in ngx_http_lua_regex.o
:info:build _ngx_http_lua_ffi_compile_regex in ngx_http_lua_regex.o
:info:build _ngx_http_lua_ngx_re_match_helper in
ngx_http_lua_regex.o
:info:build _ngx_http_lua_ngx_re_sub_helper in ngx_http_lua_regex.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v
to see invocation)
:info:build make[1]: *** [objs/nginx] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65150>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list