Subject: Re: userland make build vs. ldconfig
To: Terry R. Friedrichsen <terry@venus.sunquest.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-pmax
Date: 09/03/1997 11:42:16
On Wed, 3 Sep 1997 11:01:23 -0700
"Terry R. Friedrichsen" <terry@venus.sunquest.com> wrote:
> 2) there *is* one in src/gnu/usr.bin/ld/ldconfig; however, it appears to be
> incomplete and isn't for the pmax anyway, to judge by the Makefile
It's not incomplete. It is for NetBSD a.out shared libraries.
> 3) however, the "make build" *did* take the trouble to install the GNU
> ldconfig's man page ldconfig.8; that'd be OK except that the man
> page doesn't match up with the ldconfig on the snapshot :-)
It's installed because manual pages are MI - they go into /usr/share.
> 4) finally, the GNU ldconfig Makefile defines BINDIR as /sbin, but the
> sources are in usr.bin, which seems inconsistent
...it is there because it is closely related to the linker.
You'll note that the in-tree Elf dynamic linker (ld.elf_so) does not
include an ldconfig; GNU's Elf ld.so uses one, but it's a notion not
really inherent in the SVR4 specification of it.
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-6 Work: +1 415 604 0935
Moffett Field, CA 94035 Pager: +1 415 428 6939