From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 13:53:18 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE96A37B401 for ; Tue, 29 Apr 2003 13:53:18 -0700 (PDT) Received: from Gina.esfm.ipn.mx (esfm.ipn.mx [148.204.102.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79A5743F85 for ; Tue, 29 Apr 2003 13:53:17 -0700 (PDT) (envelope-from mrspock@esfm.ipn.mx) Received: from Gina.esfm.ipn.mx (localhost [127.0.0.1]) by Gina.esfm.ipn.mx (8.12.6p2/8.12.6) with ESMTP id h3TKqfNY019280; Tue, 29 Apr 2003 15:52:41 -0500 (CDT) (envelope-from mrspock@esfm.ipn.mx) Received: from localhost (mrspock@localhost)h3TKqeIP019277; Tue, 29 Apr 2003 15:52:41 -0500 (CDT) X-Authentication-Warning: Gina.esfm.ipn.mx: mrspock owned process doing -bs Date: Tue, 29 Apr 2003 15:52:40 -0500 (CDT) From: Eduardo Viruena Silva To: Clark Kent In-Reply-To: <1051646208.9428.8.camel@thugstah.kicks-ass.net> Message-ID: <20030429154058.J18873@Gina.esfm.ipn.mx> References: <1051646208.9428.8.camel@thugstah.kicks-ass.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Accidentally deleted /usr/lib/libstdc++.so.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2003 20:53:19 -0000 On Tue, 29 Apr 2003, Clark Kent wrote: > Yep, I managed to do it! I'm probably the first person in history to > ever do it, too! Darn it. > > History: > > Well, it all started when i couldnt run a certain linux binary under > emulation. I decided to symlink an existing file (libstdc++.so.3) to the > required file (libstdcc++.so.5). No luck. Well, seeing how it did not > work, i decided to remove the symbolic link - only to accidentally > remove the original libstdc++.so.3. > > Consequences: > > Mozilla refuses to run. Abiword refuses to run. Countless other > programs refused to run, as they required this elf lib. > > Attempted Fixes: > > Maybe a buildworld would do the trick, I thought; it was also time for > me to update my sources also. => Buildworld fails when it couldn't find > the file. > > Arrrrggh! > Short of deinstalling Freebsd, is there anything else i could do to get > that missing file, or at least build it from existing sources? I haven't > done anything else as stupid as this, so my filesystems/crucial files > should be intact. > > Any advice welcome :) What version of FreeBSD are you using? What version of linux_base package are you using? I cannot see this library in my computers... If it is part of Linux emulation package, why dont you extract it from there? you know: cd / tar xvzf linux_base_{your_version}.tgz "usr/lib/libstdcc++.so.5" you wrote double "c" is that correct? > > ps: this is my first post, so i don't know if it will actually go > through. Hope it does it will. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > - ______ _ * / /###\ / \ __ /\ /\ * / ./#### \ * \__|_/ | | / \/ \ | b#####| * _ | __ | | __ = .. \____ \ \_\#####/ / \| / \ | | /\_\/ = \_| * \___\###/ * \_/\_/\__/\__\/_/\__/ = \______/ _ | |