Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Aug 2009 01:58:56 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org, Stew Houston <stewhouston@gmail.com>
Subject:   Re: Accidentally moved /libexec/ld-elf.so.1
Message-ID:  <20090822015856.9ae791e1.freebsd@edvax.de>
In-Reply-To: <20090822015343.bad7fdfc.freebsd@edvax.de>
References:  <5a1fc34c0908201944g63f45b7ar1d53149fd5029a95@mail.gmail.com> <200908202124.29206.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> <5a1fc34c0908211628t7e58adabqc4aef9f2bb08d69b@mail.gmail.com> <20090822015343.bad7fdfc.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Replying to my own message in order to clarify:

On Sat, 22 Aug 2009 01:53:43 +0200, Polytropon <freebsd@edvax.de> wrote:
> On Fri, 21 Aug 2009 19:28:47 -0400, Stew Houston <stewhouston@gmail.com> 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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090822015856.9ae791e1.freebsd>