very current can't install

Randy Bush randy at psg.com
Fri May 14 16:12:14 PDT 2004


>> :/# 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
@@ -1,7 +1,8 @@
 # $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



More information about the freebsd-current mailing list