This is a static archive of our old Q&A Site. Please post any new questions and answers at

How to fix error while installing Wireshark in Ubuntu 12.04 LTS?


As I try to install wireshark I get following error and unable to isntall OpenFlow extension? so unable to run OF filter in it.

 8 files updated, 0 files merged, 0 files removed, 0 files unresolved
    scons: Reading SConscript files ...
    scons: done reading SConscript files.
    scons: Building targets ...
    gcc -o packet-openflow.os -c -fPIC -I. -I/usr/include/wireshark -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include packet-openflow.c
    In file included from /usr/include/glib-2.0/glib/galloca.h:34:0,
                     from /usr/include/glib-2.0/glib.h:32,
                     from packet-openflow.c:15:
    /usr/include/glib-2.0/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory
    compilation terminated.
    scons: *** [packet-openflow.os] Error 1
    scons: building terminated because of errors.

asked 18 May '14, 08:22

milstein's gravatar image

accept rate: 0%

One Answer:


You should probably ask here or build the trunk version of wireshark which have a built in openflow dissector.

answered 18 May '14, 10:46

Anders's gravatar image

Anders ♦
accept rate: 17%

Thanks! @Anders

(18 May '14, 13:10) milstein