Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 2009 20:15:15 -0400
From:      Steve Bertrand <steve@ibctech.ca>
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:  <4A8F3893.7060606@ibctech.ca>
In-Reply-To: <20090822015856.9ae791e1.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> <20090822015856.9ae791e1.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Polytropon wrote:
> 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.

I don't know if it will help or not, but here is a link to the file in
question.

If all of the other great recommendations don't pan out, you may be able
to boot from some form of 'live cd', and then fetch the file into place.

http://www.ipv6canada.com/ld-elf.so.1

% mount /dev/ad0s1a /mnt # where ad0s1a is your / on the hard disk
% cd /mnt/libexec
% fetch http://www.ipv6canada.com/ld-elf.so.1
% reboot

Steve

[-- Attachment #2 --]
0	*H
010	+0	*H
00CK9AbxIUw0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
090507231610Z
100507231610Z0B10UThawte Freemail Member10	*H
	steve@ibctech.ca0"0
	*H
0
DZ杙<2IⵀfrsE6q?0.>
S@Œ!V?A\Q
r-aZ
Ōf/0{OYQhɏߴ
F_\Q0BF=<_.a*3epeY|tݼcvlҷ+@piQA{2E9WN4[Z`h6VM/zPbd(GC^K6XV4j<t-0+0U0steve@ibctech.ca0U00
	*H
æ|85aQz-*3HG		.s*Fw*`HvFw;9ytƘn0taC/:WC+LÙ{Oq 1n00CK9AbxIUw0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
090507231610Z
100507231610Z0B10UThawte Freemail Member10	*H
	steve@ibctech.ca0"0
	*H
0
DZ杙<2IⵀfrsE6q?0.>
S@Œ!V?A\Q
r-aZ
Ōf/0{OYQhɏߴ
F_\Q0BF=<_.a*3epeY|tݼcvlҷ+@piQA{2E9WN4[Z`h6VM/zPbd(GC^K6XV4j<t-0+0U0steve@ibctech.ca0U00
	*H
æ|85aQz-*3HG		.s*Fw*`HvFw;9ytƘn0taC/:WC+LÙ{Oq 1n0?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1d0`0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAK9AbxIUw0	+0	*H
	1	*H
0	*H
	1
090822001516Z0#	*H
	1rZ3]Zu=2[0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0	+71x0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAK9AbxIUw0*H
	1xv0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAK9AbxIUw0
	*H
oB渜B)`gI{`(ӓbdm`*){-a~I'.m̙".", ݵSk0^	%qɂ&` R9D!S"_i =<{g_cLDi8x_)~u`ar$Wݔl#%6U$m}J3 OZ;CM}J헧BK}# ((`QE%!D*/탏fX)f^Ps

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A8F3893.7060606>