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

Start development wireshark build on linux

0

I've build wireshark v2.1.0 (using cmake) and installed it to /tmp directory. For now i've got a problem - "No interfaces found". I've copied dumpcap from /usr/bin locally to /tmp/bin directory and give all right that it need. Already installed wireshark from debian repository (1.12.0) works fine and sees all interfaces.

asked 01 Dec '15, 03:56

qmor's gravatar image

qmor
6224
accept rate: 0%

edited 01 Dec '15, 08:29

grahamb's gravatar image

grahamb ♦
19.8k330206


One Answer:

0

The Developers Guide, Sect 3.6.1 Run generated Wireshark, Unix/Linux implies that you can't capture from the built version, I'm not sure if that's true these days. Did you set the environment variable as stated?

answered 01 Dec '15, 05:14

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

yes i've set ld.so.conf.d/wireshark.conf path to fresh wireshark bin and lib and then run ldconfig.

Maybe i need anything else?

(01 Dec '15, 05:16) qmor

That's not what the instructions say. Unfortunately I'm unable to help you any further as I'm a Windows guy. Where it just runs after build :-)

(01 Dec '15, 05:22) grahamb ♦

i've tried to start as Sect 3.6.1 said:

WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1 ./wireshark

it's much easier to run (no need any ldconfig changes) but it's still no interfaces in list

(01 Dec '15, 05:34) qmor

To me that would imply some permissions problem, but as to what it is I can't help any further. Hopefully someone else will chime in.

(01 Dec '15, 05:44) grahamb ♦