patrikjuvonen / docker-nginx-http3

Alpine Linux image with nginx 1.23.4 (mainline) with HTTP/3 (quiche), TLSv1.3, 0-RTT, HPACK, brotli, NJS, Cookie-Flag support, ModSecurity with coreruleset and BoringSSL with OCSP support. All built on the bleeding edge. Total size is only about ~12 MB compressed.
https://hub.docker.com/r/patrikjuvonen/docker-nginx-http3
MIT License
37 stars 6 forks source link

bug: missing libpcre2-8.so.0 #5

Closed githubcdr closed 1 year ago

githubcdr commented 1 year ago

Hi,

In v2.0.3 I got these errors;

Error loading shared library libpcre2-8.so.0: No such file or directory (needed by /usr/sbin/nginx)
Error relocating /usr/sbin/nginx: pcre2_general_context_free_8: symbol not found
Error relocating /usr/sbin/nginx: pcre2_general_context_create_8: symbol not found
Error relocating /usr/sbin/nginx: pcre2_get_ovector_pointer_8: symbol not found
Error relocating /usr/sbin/nginx: pcre2_compile_8: symbol not found
Error relocating /usr/sbin/nginx: pcre2_compile_context_create_8: symbol not found
Error relocating /usr/sbin/nginx: pcre2_code_free_8: symbol not found
Error relocating /usr/sbin/nginx: pcre2_match_data_free_8: symbol not found
Error relocating /usr/sbin/nginx: pcre2_match_8: symbol not found
Error relocating /usr/sbin/nginx: pcre2_compile_context_free_8: symbol not found
Error relocating /usr/sbin/nginx: pcre2_match_data_create_from_pattern_8: symbol not found
Error relocating /usr/sbin/nginx: pcre2_pattern_info_8: symbol not found
Error relocating /usr/sbin/nginx: pcre2_config_8: symbol not found
Error relocating /usr/sbin/nginx: pcre2_match_data_create_8: symbol not found
Error relocating /usr/sbin/nginx: pcre2_set_compile_extra_options_8: symbol not found
Error relocating /usr/sbin/nginx: pcre2_get_ovector_count_8: symbol not found
Error relocating /usr/sbin/nginx: pcre2_jit_compile_8: symbol not found
Error relocating /usr/sbin/nginx: pcre2_get_error_message_8: symbol not found

Is this a bug?

patrikjuvonen commented 1 year ago

Sorry! Thanks for reporting the issue, looking at it now. I've reverted the 2, 2.0 and latest tags to use 2.0.2. Fix will be released under 2.0.4.

Update: errors happen because of missing pcre2 apk package, installing it using apk add pcre2 fixes the issue. Pushing commit soon.

patrikjuvonen commented 1 year ago

Thanks again! Resolved in https://github.com/patrikjuvonen/docker-nginx-http3/releases/tag/v2.0.4