Re: Program Needs libstdc++-libc6.2-2.so.3
On Saturday 28 January 2006 15:13, Florian Kulzer wrote:
> Hal Vaughan wrote:
> > I had to upgrade my workstation recently and am using Unstable for
> > several reasons.
> >
> > I just reinstalled RealVNC (not a .deb). The server runs fine, but when
> > I try to run vncviewer, I get this:
> >
> > [hal@workstation:~]$ vncviewer
> > vncviewer: error while loading shared libraries:
> > libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or
> > directory
> >
> > I know there's been some kind of issue in Debian about handling the
> > upgrade with the changes in C libraries, but I know very little about C
> > and am not sure what package would contain this program or if it
> > conflicts with other libraries.
>
> On my Sid system I have the library as a symlink
>
> /usr/lib/libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so
>
> and it came from the package "libstdc++2.10-glibc2.2". This package is
> available on both Etch and Sid. Maybe installing it is enough to solve
> your problem.
I can't find a package by that name. When I search in aptitude, I can find
several starting with libstdc++, but once I add "2" after it, I get nothing.
> If your problem persists even with the library installed then it might
> help to run "ldd -v vncviewer" to get more information.
Done, but I don't follow most of what it says. I've pasted it in at the
bottom of this in case it can give someone else something that'll help.
> > I've searched and found a few pages that tell me to create a symlink to
> > libstdc++-libc6.1-1.so.2, but that file doesn't exist either. I have
> > been using aptitude, since I understand that is recommended for Sarge and
> > later, but I tried apt-file search to find a .deb with either of these
> > files, and it doesn't seem to be working at all. I am not a C
> > programmer, but I know there is an issue with an upgrade of glibc, so I
> > don't want to just start installing libs when that could cause a
> > conflict. I'd search on debian.org for the .deb, but the packages
> > section is down.
>
> I think you are on safe side with respect to the C++-libraries as long
> as you use apt-get or aptitude with only official Debian repositories in
> the sources.list. If you select something that is incompatible you will
> notice it immediately since apt(itude) will tell you that it has to
> remove a lot of other packages for the installation. Then you still have
> the opportunity to cancel the whole thing.
That's part of what I was thinking. I'm using official repositories, but
can't find the package you mentioned. Are you sure it's from an official
repository?
> Regards,
> Florian
Thanks!
Hal
---------------------------ldd -v `which vncviewer output-----------
linux-gate.so.1 => (0xffffe000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xb7eeb000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xb7ed3000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7ec5000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7dfa000)
libstdc++-libc6.2-2.so.3 => not found
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7dd3000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c9d000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7c99000)
/lib/ld-linux.so.2 (0xb7f04000)
Version information:
/usr/bin/vncviewer:
libc.so.6 (GLIBC_2.2) => /lib/tls/i686/cmov/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/tls/i686/cmov/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/tls/i686/cmov/libc.so.6
/usr/X11R6/lib/libSM.so.6:
libc.so.6 (GLIBC_2.1.3) => /lib/tls/i686/cmov/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/tls/i686/cmov/libc.so.6
/usr/X11R6/lib/libICE.so.6:
libc.so.6 (GLIBC_2.1.3) => /lib/tls/i686/cmov/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/tls/i686/cmov/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/tls/i686/cmov/libc.so.6
libc.so.6 (GLIBC_2.3) => /lib/tls/i686/cmov/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/tls/i686/cmov/libc.so.6
/usr/X11R6/lib/libXext.so.6:
libc.so.6 (GLIBC_2.1.3) => /lib/tls/i686/cmov/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/tls/i686/cmov/libc.so.6
/usr/X11R6/lib/libX11.so.6:
libdl.so.2 (GLIBC_2.1) => /lib/tls/i686/cmov/libdl.so.2
libdl.so.2 (GLIBC_2.0) => /lib/tls/i686/cmov/libdl.so.2
libc.so.6 (GLIBC_2.1.3) => /lib/tls/i686/cmov/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/tls/i686/cmov/libc.so.6
libc.so.6 (GLIBC_2.1.2) => /lib/tls/i686/cmov/libc.so.6
libc.so.6 (GLIBC_2.3) => /lib/tls/i686/cmov/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/tls/i686/cmov/libc.so.6
libc.so.6 (GLIBC_2.3.2) => /lib/tls/i686/cmov/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/tls/i686/cmov/libc.so.6
/lib/tls/i686/cmov/libm.so.6:
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
libc.so.6 (GLIBC_2.1.3) => /lib/tls/i686/cmov/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/tls/i686/cmov/libc.so.6
/lib/tls/i686/cmov/libc.so.6:
ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.0) => /lib/ld-linux.so.2
/lib/tls/i686/cmov/libdl.so.2:
libc.so.6 (GLIBC_2.1.3) => /lib/tls/i686/cmov/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/tls/i686/cmov/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/tls/i686/cmov/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /lib/tls/i686/cmov/libc.so.6
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
Reply to: