Ask Your Question
0

build wireshark on linux can't find Qt includes

asked 2018-04-11 12:42:16 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

I need to install wireshark on Ubuntu 16.04, but it appears that there are no binaries for that situation, so I'm forced to build it; that's OK, but having (finally) gotten "configure" to run, when I then run "make" I get "Undefined reference" always to Qt header files. Where is the path to the Qt includes defined? Can I change it? Will that solve the problem?

edit retag flag offensive close merge delete

Comments

there are no binaries for that situation? What about this for instance?

Jaap gravatar imageJaap ( 2018-04-13 18:30:54 +0000 )edit

For up to date versions that may not be carried in the distro packages, there's also the Wireshark PPA maintained by a member of the Wireshark Core Developer team.

grahamb gravatar imagegrahamb ( 2018-04-17 08:17:26 +0000 )edit

I got a response recently that I appreciate, but they didn't understand that the REASON I need to install wireshark is that the internet is not working on the machine in question (although, oddly, I DO have network access!). That means that "apt-get" does not work! So I have to install using dpkg and ".deb" files. Since there doesn't appear to be a ".deb" file of binaries for Ubuntu 16.04, I'm forced to build it. But then I have the problem with Qt includes! Under Qt I don't see a tools directory and I can't find anything called debian_setup.sh ( or even close). I will try installing an appropriate version of qtools-dev, but I suspect I already have. I do have three versions of Qt on this machine, maybe I should get rid of the others.

Victor2Preston gravatar imageVictor2Preston ( 2018-04-17 11:35:45 +0000 )edit

Then, instead of taking a path which requires you to install even more development packages, I would suggest getting a installer DVD and install the Wireshark packages from there.

Jaap gravatar imageJaap ( 2018-04-17 12:37:41 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-04-13 16:56:40 +0000

Anders gravatar image

Sounds to me like you don't have all the dependencies installed. In the tools directory there's a debian_setup.sh (or similar) run that script.

edit flag offensive delete link more

Comments

To build Wireshark you need a bunch of development packages. It's probably easier to get the .deb files for wireshark here https://packages.ubuntu.com/xenial/wi...

Anders gravatar imageAnders ( 2018-04-17 12:02:28 +0000 )edit

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: 2018-04-11 12:42:16 +0000

Seen: 89 times

Last updated: Apr 17