From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 12:57:26 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 0131E37B401 for ; Tue, 29 Apr 2003 12:57:26 -0700 (PDT) Received: from ms-smtp-01.texas.rr.com (ms-smtp-01.texas.rr.com [24.93.36.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EAFE43FB1 for ; Tue, 29 Apr 2003 12:57:25 -0700 (PDT) (envelope-from superman@thugstah.kicks-ass.net) Received: from [192.168.2.103] (cs2417486-45.houston.rr.com [24.174.86.45]) h3TJvN8b013920 for ; Tue, 29 Apr 2003 14:57:24 -0500 (CDT) From: Clark Kent To: freebsd-questions@freebsd.org Content-Type: text/plain Organization: Message-Id: <1051646208.9428.8.camel@thugstah.kicks-ass.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 29 Apr 2003 14:56:49 -0500 Content-Transfer-Encoding: 7bit Subject: 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 19:57:26 -0000 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 :) ps: this is my first post, so i don't know if it will actually go through. Hope it does