[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: installing libstdc++-libc6.2-2.so.3



Judith Retief wrote:
I have to get a backup for one of our production boxes installed. Someone
else had set up a basic debian installation on the new box, I just have to
get our own binaries working on it, most of which link against
libstdc++-libc6.2-2.so.3. I assume this is the implementation of the C++
libraries, and as most of our code is C++ I'm not surprised to see it as a
dependency. On the existing machine, this lives in /lib:
	/lib/libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0
but the new box didn't have this lib.

on the existing box
	apt-cache search libstdc++
returns a lot of packages, most promising are
	libstdc++3 libstdc++5 libstdc++6
with their dbg/dev/doc variants.

I've tried apt-get install libstdc++6
on the new box, but the lib is still missing. Just in case (used to windows
environment :) I tried rebooting the box, now it doesn't want to come up
again.

What am I missing here? Any background info on the history of the library
versions would also be appreciated.

You can use "dpkg -S filename" on the old box to find out where a given
file came from. (Or install the package "dlocate" which does the same
thing much faster.)

On my Sid box this claims that your library is in the package
"libstdc++2.10-glibc2.2".

As a more general solution you can install the package "apt-file" which
allows you to search for filenames in all packages (not only in the
installed ones as with dpkg/dlocate).

Regards,
           Florian



Reply to: