From owner-freebsd-current@FreeBSD.ORG Fri Nov 28 09:14:25 2003 Return-Path: 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 B7E8B16A4CE for ; Fri, 28 Nov 2003 09:14:25 -0800 (PST) Received: from worf.kerna.com (worf.kerna.com [194.106.143.118]) by mx1.FreeBSD.org (Postfix) with SMTP id 6E78A43FB1 for ; Fri, 28 Nov 2003 09:14:24 -0800 (PST) (envelope-from james@kerna.ie) Received: (qmail 53049 invoked by uid 1001); 28 Nov 2003 17:14:31 -0000 Date: Fri, 28 Nov 2003 17:14:31 +0000 From: James Raftery To: freebsd-current@freebsd.org Message-ID: <20031128171430.GF48024@bender.kerna.ie> Mail-Followup-To: freebsd-current@freebsd.org References: <3FC77CCD.8090809@snafu.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FC77CCD.8090809@snafu.de> Subject: Re: Losing ld-elf.so.1 while make installworld, system shrotted X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 28 Nov 2003 17:14:25 -0000 On Fri, Nov 28, 2003 at 05:50:21PM +0100, Oliver Fischer wrote: > install -o root -g wheel -m 444 test.1.gz /usr/share/man/man1 > ELF interpreter /libexec/ld-elf.so.1 not found Was /libexec a symlink to /usr/libexec by any chance? I upgraded a system yesterday with /libexec as a symlink to /usr/libexec and the outcome was exactly what you are seeing. Reading through the Makefiles, the installworld procedure is 1. Install /libexec/ld-elf.so.1 2. Delete /usr/libexec/ld-elf.so.1 3. Link /libexec/ld-elf.so.1 to /usr/libexec/ld-elf.so.1 If you perform those steps with /libexec <-> /usr/libexec symlinks, the end result is no ld-elf.so.1 anywhere! Use the fixit CD, remove the /libexec symlink and make a directory /libexec. Then copy /usr/obj/usr/src/libexec/rtld-elf/ld-elf.so.1 into /libexec (making sure its modes are 555). You should then be able to reboot into single-user from the disk-based filesystems and redo `make installworld'. ATB, james