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>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig7571E4437D729800AEF3E41C
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

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

--------------enig7571E4437D729800AEF3E41C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

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

--------------enig7571E4437D729800AEF3E41C--



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