Discussion:
installing libstdc++-libc6.2-2.so.3
(too old to reply)
Judith Retief
2006-03-07 15:40:16 UTC
Permalink
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.
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Florian Kulzer
2006-03-07 17:10:21 UTC
Permalink
Post by Judith Retief
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
/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
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Kevin Mark
2006-03-08 07:30:17 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Judith Retief
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
/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.
Hi Judith,
there are a few ways to find stuff.
1) install apt-file, run apt-file search libstdc++ or similar
(this is a way to search packages.debian.org, offline, and is thus more
convient and quicker)
2) check snapshot.debian.net site for file.
this is an 'unofficial' repository for older debs
3) ask here
4) ask on irc.debian.org on #debian
cheers,
Kev

- --
| .''`. == Debian GNU/Linux == | my web site: |
| : :' : The Universal | debian.home.pipeline.com |
| `. `' Operating System | go to counter.li.org and |
| `- http://www.debian.org/ | be counted! #238656 |
| my keysever: pgp.mit.edu | my NPO: cfsg.org |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEDoFlv8UcC1qRZVMRAgGQAJ0QsfKZxXD+5Bs36iIV7CeWGA1YbQCfSb3K
mg8C4ixgrXx0munBQI1r00w=
=27vQ
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Loading...