How to install Wireshark 2.3 on Ubuntu 16.04 with Iperf dissector compatibility

To install this last version of wireshark, follow these steps:

tar xvf wireshark-2.3.0-947-g5a12a5e.tar.xz
cd wireshark-2.3.0-947-g5a12a5e

./ 1: ./ libtool: not found

You must have libtool 2.2.2 or later installed to compile Wireshark.
Download the appropriate package for your distribution/OS,
or get the source tarball at

Libtool usually already exists in the system, but with a different name. To solve it, just create a symbolic link with the name that expected:

sudo ln -s /usr/bin/libtoolize /usr/bin/libtool

Now, continue:

./configure  --with-lua

checking for the location of lua.h... not found

configure: error: Lua support was requested, but is not available

You need to install liblua5.2-dev, because liblua5.3-dev is not recognized by wireshark by default. Wireshark for windows and OSX are based on liblua5.2.

sudo apt-get install liblua5.2-dev
./configure  --with-lua
make -j$(nproc)

sudo wireshark   
wireshark: error while loading shared libraries: cannot open shared object file: No such file or directory

To fix, run ldconfig as root:

sudo ldconfig
sudo wireshark   

Now, to enable iperf UDP compatibility, you need download the plugin from my project and put it in the wireshark plugin folder by default:

cd iperf_dissector
mkdir ~/.config/wireshark/plugins
cp iperf.lua ~/.config/wireshark/plugins/

UPDATE: For wireshark 2.6.x the plugins path is another. You must do the following:

sudo mkdir /usr/lib/x86_64-linux-gnu/wireshark/plugins/2.6/lua
cp iperf.lua /usr/lib/x86_64-linux-gnu/wireshark/plugins/2.6/lua/


Enjoy it!


Popular posts from this blog

How to fix Android when developer options are not available for this user

from: can't read /var/mail/ in Python scripts

How to fix VirtualBox error when you try to import an ova file