From owner-freebsd-current Tue Feb 13 13:18:21 2001 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 93B2737B491 for ; Tue, 13 Feb 2001 13:18:17 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.2/8.11.1) id f1DLI3780015; Tue, 13 Feb 2001 13:18:03 -0800 (PST) (envelope-from obrien) Date: Tue, 13 Feb 2001 13:18:02 -0800 From: "David O'Brien" To: Paul RichardsF Cc: freebsd-current@FreeBSD.ORG Subject: Re: Patch for FILE problems (was Re: -CURRENT is bad for me...) Message-ID: <20010213131802.B79651@dragon.nuxi.com> Reply-To: freebsd-current@FreeBSD.ORG References: <200102130120.f1D1KpU56194@mobile.wemm.org> <200102130131.f1D1VrW33790@harmony.village.org> <3A895FA0.25EBC727@originative.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A895FA0.25EBC727@originative.co.uk>; from paul@originative.co.uk on Tue, Feb 13, 2001 at 04:24:00PM +0000 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Feb 13, 2001 at 04:24:00PM +0000, Paul RichardsF wrote: > When we dropped minor numbers I had a worry that we'd run into one of > Windows' greatest problems and we have. Applications that are developed > and tested to work with a particular library might not work with a > different version, How is that??? It is beter under ELF than a.out in that ld.so isn't making a guess as to which shared libs were compatible and which weren't. The ELF ld.so does not look for shared lib libxyz.so.2, find libxyz.so.3 and decide maybe they are close enough and use it instead. The a.out ld.so would use libxyz.so.2.2 when the binary was compiled and tested with libxyz.so.2.1. > we're suffering a worst case scenario of this problem > now but even "fixes" in new versions can cause applications to break and Don't confuse development (which in years past would have never made it out of the "company's" development machines, with deployed releases. > we've already seen this many times in this iteration of -current. *Way*, way too many people are using -CURRENT that have no business doing so. > I think we need some form of version control on libraries so that > applications know whether they're linking with the version they're > designed for and to be able to keep multiple versions around in the > system so all applications continue to work. We have that today and it works very well [in our released product]. > I understand the reasoning that Elf doesn't need minor numbers but they > served an useful purpose in maintaining application compatibility that > we now lack. NO! Please review the rules ld.so in both ELF and a.out varieties uses in finding a desired shared lib. -- -- David (obrien@FreeBSD.org) GNU is Not Unix / Linux Is Not UniX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message