Ask Your Question
0

without nghttp2

asked 2021-05-21 08:57:52 +0000

SuperKid2205 gravatar image

updated 2021-05-21 09:09:20 +0000

How can I enable nghttp2 in Ubuntu. My wireshark allway display "without nghttp2" every version I installed.

My problem is "Wireshark must be built with nghttp2 for HTTP/2 HEADER support".

Please help me.

edit retag flag offensive close merge delete

Comments

What versions have you tried?

grahamb gravatar imagegrahamb ( 2021-05-21 09:01:54 +0000 )edit

I tried v3.2.4, v3.2.13

SuperKid2205 gravatar imageSuperKid2205 ( 2021-05-21 09:04:25 +0000 )edit

I think those should be OK, where they distribution installs or locally built?

grahamb gravatar imagegrahamb ( 2021-05-21 09:14:18 +0000 )edit

I download taz.xy file, then ran it in download folder

SuperKid2205 gravatar imageSuperKid2205 ( 2021-05-21 09:24:44 +0000 )edit

What was the source of that copy, I'm not familiar with that?

grahamb gravatar imagegrahamb ( 2021-05-21 09:30:49 +0000 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-09-16 12:06:03 +0000

rkc gravatar image

I had the same issue on Ubuntu 20.04. This feature doesn't seem to be enabled by default. It was solved by installing libnghttp2-dev "sudo apt install libnghttp2-dev" You can then build from source normally. In the build directory, do "cmake" and then "make".

edit flag offensive delete link more
0

answered 2021-05-21 20:46:29 +0000

Guy Harris gravatar image

Before doing a Wireshark build from source on Debian, or on Debian-based distributions such as Ubuntu, run the script debian-setup.sh that's in the tools directory of the Wireshark source tree. Pass it the --install-optional option if you want all the Wireshark features, including ones that aren't required in order to build Wireshark.

I.e., do

$ tools/debian-setup.sh --install-optional

This will install the developer packages for all the libraries Wireshark uses, so that Wireshark can be compiled with them. Installing the standard packages isn't sufficient - that installs shared libraries that allow programs already built with those libraries to run, but it doesn't install header files to allow programs to be built with them.

In particular, you need the libnghttp2-dev to get HTTP2 support, as Wireshark uses the libnghttp2 library when dissecting HTTP2.

According to the source of debian-setup.sh, libnghttp2 - including libnghttp2-dev - is available in Ubuntu 16.04 and later.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2021-05-21 08:57:52 +0000

Seen: 966 times

Last updated: May 21 '21