From owner-freebsd-questions Wed Apr 7 20:27:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id E308D15210 for ; Wed, 7 Apr 1999 20:27:13 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.1) with ESMTP id UAA10009; Wed, 7 Apr 1999 20:25:13 -0700 (PDT) (envelope-from jdp@polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.9.2/8.9.1) id UAA77255; Wed, 7 Apr 1999 20:25:13 -0700 (PDT) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19990407014053.A536@broccoli.no-support.loc> Date: Wed, 07 Apr 1999 20:25:13 -0700 (PDT) Organization: Polstra & Co., Inc. From: John Polstra To: Bjoern Fischer Subject: RE: ELF shared libs Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bjoern Fischer wrote: > how is version management of shared ELF libraries done? > > Is it true, that there must be exactly one digit behind > the .so. (like libfoo.so.1)? Then how does the runtime > linker distinct between compatible/uncompatible library > API changes? It doesn't. If the version numbers differ, the libraries are considered to be incompatible. There just one version number, and it has to match exactly. (Well, actually, everything after the ".so" is the "version number". It can have lots of digits but they still have to match exactly.) That's just the way it works in the ELF standard. Search the archives of the FreeBSD-current mailing list for way too much discussion about it. > I couldn't find a man page for the runtime linker, too. man ld.so But it's out of date and doesn't describe the current ELF situation accurately. John --- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-interest is the aphrodisiac of belief." -- James V. DeLong To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message