Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Sep 2005 23:49:32 +0200
From:      Benjamin Lutz <benlutz@datacomm.ch>
To:        FreeBSD-Current <current@freebsd.org>
Subject:   installing ld-elf.so.1
Message-ID:  <4317776C.9070307@datacomm.ch>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hello,

While examining my system (FreeBSD 6.0-BETA3 amd64) and removing the old
libs from before the version bump, I noticed that the time stamp on
/libexec/ld-elf.so.1 does not match that of other system files. The date
leads me to believe that my current ld-elf.so.1 is a remainder of a
previous installation (its date matches the date of libm.so.3, which was
recently bumped to libm.so.4).

While trying to figure out why the new ld-elf.so.1 (which appears to
have been built correctly) isn't installed. I finally arrived at this point:

# cp -p /usr/obj/usr/src/libexec/rtld-elf/ld-elf.so.1 /libexec
cp: /libexec/ld-elf.so.1: Text file busy
#

(This is in single user mode. The result is the same if I use
/rescue/cp, which is statically linked.)

The open(2) manpage has this to say about it:

  [ETXTBSY]      The file is a pure procedure (shared text) file that
                 is being executed and the open() system call requests
                 write access.

So, my question: How can Install the new ld-elf.so.1?

Cheers
Benjamin

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iD8DBQFDF3dwgShs4qbRdeQRAleiAJ9mvSqa9oQ2sBh6HorAoFyUEPKLXQCfTfKT
eB8kY3LJbgiayz8uo71hw2E=
=hxUg
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4317776C.9070307>