Re: very current can't install

From: Randy Bush <randy_at_psg.com>
Date: Fri, 14 May 2004 16:12:11 -0700
>> :/# cd /usr/src
>> pid 5474 (hostname), uid 0: exited on signal 11 (core dumped)
>> machine is remote, so i don't want to ask remote hands to
>> reset too many times.  so any clues appreciated
> Your dynamic linker (/libexec/ld-elf.so.1) is most probably broken,
> see this post from just an hour or so ago:
> http://docs.freebsd.org/cgi/mid.cgi?20040514212516.GB1464
> In short, you need to restore the previous version to be able to
> recover.

for the archive, with kind help from
  Stefan Eßer <se_at_FreeBSD.org>
  Ulf Zimmermann <ulf_at_Alameda.net>

:/# /rescue/ls -lo /libexec/ld-elf.so.*
-r-xr-xr-x  1 root  wheel  schg 141736 May 14 22:02 /libexec/ld-elf.so.1
-r-xr-xr-x  1 root  wheel  -    138120 Mar 19 19:02 /libexec/ld-elf.so.1.old
:/#> /rescue/chflags noschg /libexec/ld-elf.so.1
:/# /rescue/cp /libexec/ld-elf.so.1.old /libexec/ld-elf.so.1

then patch 

Index: Makefile
===================================================================
RCS file: /usr/cvs/src/libexec/rtld-elf/Makefile,v
retrieving revision 1.27
diff -u -r1.27 Makefile
--- Makefile	14 May 2004 12:15:51 -0000	1.27
+++ Makefile	14 May 2004 22:54:47 -0000
_at__at_ -1,7 +1,8 _at__at_
 # $FreeBSD: src/libexec/rtld-elf/Makefile,v 1.27 2004/05/14 12:15:51 cognet Exp $
 
 PROG?=		ld-elf.so.1
-SRCS=		reloc.c rtld.c rtld_start.S rtld_lock.c map_object.c \
+SRCS=		rtld_start.S \
+		reloc.c rtld.c rtld_lock.c map_object.c \
 		malloc.c xmalloc.c debug.c libmap.c
 MAN=		rtld.1
 CSTD?=		gnu99


then

   cd /usr/cvs/src/libexec/rtld-elf
   make

then resume the install

randy
Received on Fri May 14 2004 - 14:12:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:54 UTC