From owner-cvs-all Mon Dec 13 23: 6:22 1999 Delivered-To: cvs-all@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id D5BF714C05; Mon, 13 Dec 1999 23:06:12 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id XAA13555; Mon, 13 Dec 1999 23:06:09 -0800 (PST) (envelope-from dillon) Date: Mon, 13 Dec 1999 23:06:09 -0800 (PST) From: Matthew Dillon Message-Id: <199912140706.XAA13555@apollo.backplane.com> To: "Rodney W. Grimes" Cc: obrien@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/chown Makefile References: <199912140619.WAA18072@gndrsh.dnsmgr.net> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk :> On Mon, Dec 13, 1999 at 09:58:40PM -0800, Rodney W. Grimes wrote: :> > And unless he added the correct ld options to build this static it's :> > not going to do the job without /usr/lib: :> :> Huh? :> :> $ ldd /sbin/chown :> ldd: /sbin/chown: not a dynamic executable : :Then you or someone did something to make it -static: : :/usr/sbin/chown: : libc.so.3 => /usr/lib/libc.so.3 (0x28062000) : :Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net The link model is controlled by Makefile.inc -- not the one in the utility source directory, but the one for the governing parent directory. Take a look at /usr/src/sbin/Makefile.inc and /usr/src/usr.sbin/Makefile.inc and you will understand how it works. I'm sorry I missed this mess - I was hip deep in NFS work (and still am) getting ready for the 3.4 release. chown should never have been moved considering that there are probably hundreds of not thousands or even tens of thousands of scripts 'out there' that expect it to be in /usr/sbin. I hope this gets cleaned up before 3.4 & 4.0 go out the door! -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message