Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Apr 1999 20:25:13 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        Bjoern Fischer <bfischer@Techfak.Uni-Bielefeld.DE>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   RE: ELF shared libs
Message-ID:  <XFMail.990407202513.jdp@polstra.com>
In-Reply-To: <19990407014053.A536@broccoli.no-support.loc>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990407202513.jdp>