Date: Tue, 22 Aug 2000 17:04:54 -0400 (EDT) From: Brian Fundakowski Feldman <green@FreeBSD.org> To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Cc: Jeroen Ruigrok van der Werven <jruigrok@via-net-works.nl>, Ollivier Robert <roberto@eurocontrol.fr>, FreeBSD Current Users' list <freebsd-current@FreeBSD.ORG> Subject: Re: make buildworld br0ken in libutil Message-ID: <Pine.BSF.4.21.0008221703540.83059-100000@green.dyndns.org> In-Reply-To: <200008221705.NAA12505@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Aug 2000, Garrett Wollman wrote: > <<On Tue, 22 Aug 2000 17:53:09 +0200, Jeroen Ruigrok van der Werven <jruigrok@via-net-works.nl> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0008221703540.83059-100000>