Re: Losing ld-elf.so.1 while make installworld, system shrotted

From: James Raftery <james_at_kerna.ie>
Date: Fri, 28 Nov 2003 17:14:31 +0000
On Fri, Nov 28, 2003 at 05:50:21PM +0100, Oliver Fischer wrote:
> install -o root -g wheel -m 444 test.1.gz  /usr/share/man/man1
> ELF interpreter /libexec/ld-elf.so.1 not found

Was /libexec a symlink to /usr/libexec by any chance? I upgraded a
system yesterday with /libexec as a symlink to /usr/libexec and the
outcome was exactly what you are seeing.

Reading through the Makefiles, the installworld procedure is

 1. Install /libexec/ld-elf.so.1
 2. Delete /usr/libexec/ld-elf.so.1
 3. Link /libexec/ld-elf.so.1 to /usr/libexec/ld-elf.so.1

If you perform those steps with /libexec <-> /usr/libexec symlinks, the
end result is no ld-elf.so.1 anywhere!

Use the fixit CD, remove the /libexec symlink and make a directory
/libexec. Then copy /usr/obj/usr/src/libexec/rtld-elf/ld-elf.so.1 into
/libexec (making sure its modes are 555). You should then be able to
reboot into single-user from the disk-based filesystems and redo
`make installworld'.


ATB,
james
Received on Fri Nov 28 2003 - 08:14:25 UTC

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