From owner-freebsd-current Sat Sep 19 20:14:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA15033 for freebsd-current-outgoing; Sat, 19 Sep 1998 20:14:42 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA15026 for ; Sat, 19 Sep 1998 20:14:38 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.1/8.9.1) id WAA07497; Sat, 19 Sep 1998 22:14:01 -0500 (CDT) Date: Sat, 19 Sep 1998 22:14:01 -0500 From: Dan Nelson To: Joe Abley , Mark Huizer , freebsd-current@FreeBSD.ORG Subject: Re: ELF ldconfig Message-ID: <19980919221401.A7239@emsphone.com> References: <19980920042741.A6144@clear.co.nz> <199809192032.NAA02450@austin.polstra.com> <19980920013633.A425@xaa.iae.nl> <19980920133401.B9101@clear.co.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.3i In-Reply-To: <19980920133401.B9101@clear.co.nz>; from "Joe Abley" on Sun Sep 20 13:34:01 GMT 1998 X-OS: FreeBSD 2.2.7-STABLE Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Sep 20), Joe Abley said: > On Sun, Sep 20, 1998 at 01:36:33AM +0200, Mark Huizer wrote: > > > See the conversion guidelines for more details: > > > > > > http://www.freebsd.org/~asami/elf-guidelines.txt > > > > Well, I started looking for it alright, but it seems a bit rude to > > me to just make it libslang.1, and considering that the libslang > > makefile is talking about elf major and minor version numbers, I > > got confused a little :-) does elf except only major, or is that a > > FreeBSD specific thing, or what? And why doesn't it matter when > > versions get upgraded and all? > > That was my concern. Surely there must come a time when two versions > of a shared library exist (with identical major version numbers), and > an application requires to be dynamically linked to the older of the > two because of some incompatability with the newer library? Probably because if a later library is not downward-compatible with the previous release, its major number needs to be bumped. The only thing you lose by dropping the minor number is version-checking; i.e. I have two libfoo.so.1 files, on two different machines, both different sizes. Which is the latest release (not necessarily latest compiled)? I assume the solution with ELF libraries is to simply run "ident", and look at the sourcefile versions. -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message