From owner-freebsd-current@FreeBSD.ORG Tue Aug 15 20:59:02 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 478F816A4E0 for ; Tue, 15 Aug 2006 20:59:02 +0000 (UTC) (envelope-from gardnermj@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E8BC43D55 for ; Tue, 15 Aug 2006 20:59:00 +0000 (GMT) (envelope-from gardnermj@gmail.com) Received: by py-out-1112.google.com with SMTP id c59so1871128pyc for ; Tue, 15 Aug 2006 13:59:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ecBG82T8cRBVK8C75y58zchJJAhzEVBdx2aWpPNM1X98dntjXs1hxI17IGWbtDpjKKKFjrZnb3bhCouLVBZWYzLqMCkp7mszcFBr4cB8EZF5+PO8UAbMsYM1mN9GqGRmyNlGTPGMd3kYJZwAVQYa9CYJg4uNkUEceVFLje04nuc= Received: by 10.35.94.2 with SMTP id w2mr16290400pyl; Tue, 15 Aug 2006 13:59:00 -0700 (PDT) Received: by 10.35.21.19 with HTTP; Tue, 15 Aug 2006 13:58:59 -0700 (PDT) Message-ID: Date: Tue, 15 Aug 2006 15:58:59 -0500 From: "Michael Gardner" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Ldconfig mistake renders system unbootable? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Aug 2006 20:59:02 -0000 I was trying to get a Linux binary to run (http://filter24.org/seq24/), and was having problems with linking, so I messed around with ldconfig a bit and somehow ended up breaking my system completely. The command I ran before everything broke was "ldconfig -elf /usr/compat/linux/lib", which I now realize was not at all what I wanted to do. Now when I try to boot FreeBSD, even in single user mode, I get the folowing: libexec/ld-elf.so.1: Undefined symbol "__stdoutp" referenced from COPY relocation in -sh libexec/ld-elf.so.1: Undefined symbol "__stdoutp" referenced from COPY relocation in sh It then asks me for the location of my shell, but keeps giving the errors above no matter which shell I choose (/bin/sh being the obvious one). I'm running FreeBSD 6.1 (and have been since it came out, so this shouldn't have anything to do with upgrading). I know I did something monumentally dumb, but how can I fix things? -Michael