tshark-3.X.X-r0.apk needs to be linked against libnghttp2 to parse http2 json content
pls have "apk add nghttp2 nghttp2-dev" as part of the tshark build environment. As long as tshark cmake detects this libnghttp2 library & headers files(.h files) it will add support to parse http2-json. Sample below
roy@ubuntu:/home/roy/code/build/wireshark_NEWBUILD$ ldd /usr/bin/tshark | grep http2
libnghttp2.so.14 => /usr/lib/x86_64-linux-gnu/libnghttp2.so.14 (0x00007f2aa4745000)
CMAKE reports states this, -- The following OPTIONAL packages have been found:
- GMODULE2
- Gettext
- GNUTLS (required version >= 3.2.0)
- ZLIB
- NGHTTP2, HTTP/2 C library and tools, https://nghttp2.org Header decompression in HTTP2
- LibXml2
- SETCAP
- XSLTPROCmake
Kindly do this simple fix so that http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/tshark-3.0.8-r0.apk support http2 json content parsing.
Edited by satheesh