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

GLIBC_2.15' not found

0

when i start to run wireshark1.8.3 on ubuntu 11.10. I get those error. and the program is stop. 1:wireshark: error while loading shared libraries: libcares.so.2: cannot open shared object file: No such file or directory 2:wireshark: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by wireshark)

could you tell me how to fix this? thanks.

asked 21 Jan '13, 23:05

smilezuzu's gravatar image

smilezuzu
20323237
accept rate: 0%


2 Answers:

0

You should install GLIBC_2.15 perhaps?

answered 22 Jan '13, 06:37

Ewgenijkkg's gravatar image

Ewgenijkkg
668915
accept rate: 60%

how can i install GLIBC_2.15? could tell me?

(31 Jan '13, 02:21) smilezuzu

0

How did you install Wireshark?

The Synaptic Package Manager, as far as I know, uses the Debian APT mechanism, so installing wireshark with it should cause the right version of GLib etc. to be installed. However, on my Ubuntu 12.04 virtual machine, you can only install Wireshark 1.6.x, not 1.8.x.

The Ubuntu App Store^W^WSoftware Center also has Wireshark, but it also has only Wireshark 1.6.x, not 1.8.x.

If you're using somebody else's package repository, it should have been set up to install the appropriate dependencies, including GLib. If it wasn't, it's not a very good package repository.

If you're running somebody else's non-packaged binary, whoever made that binary will need to make one that works on your Ubuntu machine or will need to tell you how to install the libraries you need.

If you're running a version you built from source code, you should try rebuilding it on your Ubuntu machine.

answered 31 Jan '13, 18:34

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

edited 31 Jan '13, 18:34

This a my build version wireshark1.8.3. I have added a rlc_AM deci function.

follow the step: in ubuntu 12.04 i386 1, sudo ./configure 2, sudo make 3, sudo checkinstall

and then,I get a *.deb.

When I install it in another ubuntu 12.04 i386

1,dpkg -i *.deb. 2,wireshark

error:wireshark: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by wireshark)

(31 Jan '13, 19:43) smilezuzu

So these are both 32-bit machines?

You REALLY don't want to do sudo ./configure; sudo make. There is NO need to run the configure script, or the build, as root, and you really don't want to give root privileges to anything that doesn't need root privileges. Leave the sudo out of those commands.

What happens if, after the make, you just do ./wireshark, on the machine on which you built it? Does that work?

(31 Jan '13, 20:35) Guy Harris ♦♦

1,Yes,both of these machines is 32-bit. 2,"leave the sudo" just down the current command to normal authority. not do anything. 3,yes,on the machines which built it, it run correctly.

(05 Feb '13, 01:50) smilezuzu

yes,on the machines which built it, it run correctly.

Perhaps the machine on which you built it and the machine on which you're trying to run it have different versions of the C library; if that's the case, then you may not be able to run programs built on the first machine on the second machine. Are they both running the same version of Ubuntu, with both machines having been updated to the same level (with Update Manager)?

(05 Feb '13, 20:29) Guy Harris ♦♦