3

A user of my software uses Debian wheezy. The software generated a core dump that I want to analyze. However, for this to work, I require the correct versions of low level system libraries, especially the glibc.

So I installed the debian version closest to the users version: Debian wheezy 7.4. Now I've got:

libc6:amd64 2.13-38+deb7u1 amd64 Embedded GNU C Library: Shared libraries

apt-get offers me an update to version 2.13-38+deb7u6. I require version 2.13-38+deb7u4, however (that's the one the core dump was generated from).

What's the supposed way to get exactly this libc version installed?

2 Answers2

4

It turns out I was just not familiar enough with apt-get. I managed to install the necessary glibc version by issuing the following command:

apt-get install libc-bin=2.13-38+deb7u4 libc6=2.13-38+deb7u4

I even downgraded it and everything works okay. Core dump analysis works now.

1

I wouldn't install it, but unpack it in some work directory and refer to it via LD_LIBRARY_PATH. Downgrading your libc6 package can be quite problematic.

Your customer should be able to supply you with their libc6 version. It might, however, be advisable to use the libc6-dbg package which includes debug symbols. Unfortunately the 7u4 version is an older one and not available anymore.

wurtel
  • 1,575