From owner-freebsd-current Mon Feb 12 17:42: 1 2001 Delivered-To: freebsd-current@freebsd.org Received: from harmony.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 299BC37B491 for ; Mon, 12 Feb 2001 17:41:55 -0800 (PST) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f1D1fqW34023; Mon, 12 Feb 2001 18:41:52 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200102130141.f1D1fqW34023@harmony.village.org> To: Alfred Perlstein Subject: Re: Patch for FILE problems (was Re: -CURRENT is bad for me...) Cc: freebsd-current@FreeBSD.ORG In-reply-to: Your message of "Mon, 12 Feb 2001 17:38:58 PST." <20010212173858.Q3274@fw.wintelcom.net> References: <20010212173858.Q3274@fw.wintelcom.net> <200102130105.f1D15aU56009@mobile.wemm.org> <200102130126.f1D1Q6W33680@harmony.village.org> <20010212173410.O3038@dragon.nuxi.com> Date: Mon, 12 Feb 2001 18:41:52 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010212173858.Q3274@fw.wintelcom.net> Alfred Perlstein writes: : > Actually going from libc.so.500 to libc.so.{x<500} is easy. : > Copy libc.so.500 into /usr/lib/compat. When the libc.so link is made to : > libc.so.{x<500}, that is the lib version number that will get burned into : > objects. After the first `make world', rm /usr/lib/libc.so.500. : : If that's true it doesn't seem like it would be terribly hard to : add a check to the installworld / world target to check for cross : version upgrades and do the magic (or at least print out those : instructions). Actaully, I think that the libc.so.500 can remain in its place because of bsd.lib.mk: ... SHLIB_NAME= lib${LIB}.so.${SHLIB_MAJOR} SHLIB_LINK?= lib${LIB}.so ... .if defined(SHLIB_LINK) @ln -sf ${SHLIB_NAME} ${SHLIB_LINK} .endif ... As peter pointed out, it is the libc.so link that makes it the default. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message