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

Re: oops, I broke something :)



dorn hetzel wrote:

On Sat, Dec 25, 2004 at 05:56:10PM -0500, Michael Marsh wrote:
On Sat, 25 Dec 2004 17:29:41 -0500, dorn hetzel
<debian-user@illyria.atlanta.org> wrote:
I installed GCC 3.4.3 to fix problems compiling
some software, and then got into conflicts with
different versions of the C libraries (or at
least that's what I think went wrong).  Then I
removed some older library versions and now I
have broken something :)
Have you tried "apt-get install -f"?

Ok, now for the embarrassing part :)

#apt-get install -f
apt-get: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory


Can you recommend a good way to get a replacement libstdc++ of
appropriate version without using apt-get ?

This is a symlink on my box:
lrwxrwxrwx 1 root root 31 2003-07-12 18:00 libstdc++-libc6.1-2.so.3 -> libstdc++-3-libc6.1-2-2.10.0.so

So, check to see if /usr/lib/libstdc++-3-libc6.1-2-2.10.0.so exists, and if so, create the symlink:

#ln -s /usr/lib/libstdc++-3-libc6.1-2-2.10.0.so /usr/lib/libstdc++-libc6.1-2.so.3

If the file does not exist, apt-file shows which package it's in:

enjae[westk]:/usr/lib> apt-file search libstdc++-3-libc6.1-2-2.10.0
libstdc++2.10: usr/lib/libstdc++-3-libc6.1-2-2.10.0.so

So download " libstdc++2.10" manually (or look in /var/cache/apt/archives for it) and then install it manually with "dpkg -i libstdc++2.10".

Now, hopefully, you're back in business.

--
Kent




Reply to: