From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 22:26:19 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 94CF037B401 for ; Tue, 29 Apr 2003 22:26:19 -0700 (PDT) Received: from thugstah.kicks-ass.net (cs2417486-45.houston.rr.com [24.174.86.45]) by mx1.FreeBSD.org (Postfix) with SMTP id D037A43F3F for ; Tue, 29 Apr 2003 22:26:18 -0700 (PDT) (envelope-from superman@thugstah.kicks-ass.net) Received: (qmail 44587 invoked by uid 1001); 30 Apr 2003 05:25:40 -0000 Date: Wed, 30 Apr 2003 00:25:40 -0500 From: Joey Lephan To: Eduardo Viruena Silva Message-ID: <20030430052540.GA44557@thugstah.kicks-ass.net> Mail-Followup-To: Eduardo Viruena Silva , freebsd-questions@freebsd.org References: <1051646208.9428.8.camel@thugstah.kicks-ass.net> <20030429154058.J18873@Gina.esfm.ipn.mx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030429154058.J18873@Gina.esfm.ipn.mx> User-Agent: Mutt/1.5.4i 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 Reply-To: Joey Lephan List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2003 05:26:20 -0000 Hey eduardo, After reading through your reply, i convinced myself that i should understand a little more about freebsd, and its sources. I've successfully completed make build/install worlds in the past, i never really understood how it all worked. Now i realize how to get back those missing libs, and peruse /usr/src/gnu/lib properly. I was able to make install clean and ultimately retrieving the missing lib. Thanks for the inspiration > 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#####| * _ | __ | | __ > = .. \____ \ \_\#####/ / \| / \ | | /\_\/ > = \_| * \___\###/ * \_/\_/\__/\__\/_/\__/ > = \______/ _ > _______________________________________________ > 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"