installing ld-elf.so.1

Benjamin Lutz benlutz at datacomm.ch
Thu Sep 1 14:49:40 PDT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 186 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050901/30282e9c/signature.bin


More information about the freebsd-current mailing list