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

Error when opening Wireshark

0

Hi guys,

When I want to open Wireshark I get this error : error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory

I tried apt-get install libpcap08 unsucessfully.

Any ideas ? I took a look on plenty websites including searching for the libcap error itself but still nothing :(

asked 30 Jan '13, 04:20

Nymeria's gravatar image

Nymeria
1111
accept rate: 0%

What OS/distribution are you using and how did you get Wireshark on that machine?

(30 Jan '13, 04:51) grahamb ♦

I use ubuntu 12.04 LTS 64 bits and I installed Wireshark with apt-get install Wireshark

(30 Jan '13, 06:18) Nymeria

Did you try apt-get install libpcap0.8? The package is called "libpcap0.8", not "libpcap08". And apt-get install wireshark should have installed libpcap0.8, as that's a dependency of wireshark.

(31 Jan '13, 18:41) Guy Harris ♦♦

2 Answers:

0

what is the output of the following commands?

which wireshark
ldd `which wireshark` | grep pcap
dpkg --list | grep pcap

Regards
Kurt

answered 30 Jan '13, 12:19

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

0

easy solution is to use apt-get install wireshark* so that all dependent wireshark packages are installed. You further want to try apt-get wireshark-dev

answered 31 Jan '13, 01:49

Aruna%20Sirigere's gravatar image

Aruna Sirigere
6224
accept rate: 0%

You shouldn't need wireshark-dev unless you're planning on modifying Wireshark's C code (whether it's adding dissectors or changing the UI or...). If you're only making changes using Lua, that shouldn't be necessary.

(31 Jan '13, 18:38) Guy Harris ♦♦