From owner-freebsd-questions@FreeBSD.ORG Fri Aug 21 23:58:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E58D106568E for ; Fri, 21 Aug 2009 23:58:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4D3048FC12 for ; Fri, 21 Aug 2009 23:58:58 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx02.qsc.de (Postfix) with ESMTP id 7BBFA1DEE7; Sat, 22 Aug 2009 01:58:57 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n7LNwuaP005033; Sat, 22 Aug 2009 01:58:56 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 22 Aug 2009 01:58:56 +0200 From: Polytropon To: Polytropon Message-Id: <20090822015856.9ae791e1.freebsd@edvax.de> In-Reply-To: <20090822015343.bad7fdfc.freebsd@edvax.de> References: <5a1fc34c0908201944g63f45b7ar1d53149fd5029a95@mail.gmail.com> <200908202124.29206.mel.flynn+fbsd.questions@mailing.thruhere.net> <5a1fc34c0908211628t7e58adabqc4aef9f2bb08d69b@mail.gmail.com> <20090822015343.bad7fdfc.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Stew Houston Subject: Re: Accidentally moved /libexec/ld-elf.so.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2009 23:58:58 -0000 Replying to my own message in order to clarify: On Sat, 22 Aug 2009 01:53:43 +0200, Polytropon wrote: > On Fri, 21 Aug 2009 19:28:47 -0400, Stew Houston wrote: > > However, being the blundering newbie I am, I was > > working in the /tmp directory, which seems to have been cleared (or is empty > > for whatever reason in the current state.) > > Cleaning the /tmp directory at startup usually is controlled > via an /etc/rc.conf setting: it's clear_tmp_enable="YES". As Glen suggested: If /tmp resides on its own partition, it could still be intact. So mount /tmp and copy the file: # mount /tmp # cp /tmp/ld-elf.so.1 /libexec > As far as I got from searching for "ld-elf" related stuff, > a command like > > # cd /usr/src/libexec/rtld-elf > # make install > > could do the trick. But I haven't checked this, and I am > not sure. I checked now. The "make" command produces ld-elf.so.1, at least on my system. If "make install" doesn't work correctly, copy the file manually. # cd /usr/src/libexec/rtld-elf # make # cp ld-elf.so.1 /libexec Of course, you will need to have /usr mounted if it's not on the / partition. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...