From owner-freebsd-current Tue Aug 22 14: 4:59 2000 Delivered-To: freebsd-current@freebsd.org Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 9F72D37B422; Tue, 22 Aug 2000 14:04:55 -0700 (PDT) Date: Tue, 22 Aug 2000 17:04:54 -0400 (EDT) From: Brian Fundakowski Feldman X-Sender: green@green.dyndns.org To: Garrett Wollman Cc: Jeroen Ruigrok van der Werven , Ollivier Robert , FreeBSD Current Users' list Subject: Re: make buildworld br0ken in libutil In-Reply-To: <200008221705.NAA12505@khavrinen.lcs.mit.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 22 Aug 2000, Garrett Wollman wrote: > < said: > > > -On [20000822 17:30], Ollivier Robert (roberto@eurocontrol.fr) wrote: > >> Brian, I'm afraid you broke libutil... Every program using libutil now must > >> depend on libcrypt too. > > No. This is precisely why shared libraries have dependencies. For > static linking, what Brian has done Just Works. For dynamic linking, > libutil needs to depend on libcrypt to get its symbols resolved. > (Alternatively you might be able to do it with weak symbols.) Further, I cannot see how the make world _could_ be broken! This is strange, since I've never had the problem at all and have tested this change in several places (5.0 and 4.1). {"/home/green"}$ objdump --all-headers /usr/lib/libutil.so | grep NEEDED /usr/libexec/elf/objdump: /usr/lib/libutil.so: no symbols NEEDED libcrypt.so.2 > -GAWollman -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message