Maintained by: NLnet Labs

[Unbound-users] libunbound version number

W.C.A. Wijngaards
Thu Aug 16 17:09:44 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Mariano,

On 08/16/2012 04:45 PM, Mariano Absatz - gmail wrote:
> Hi,
> 
> Is there some kind of correlation between the libunbound version
> number and the Unbound package version number?
> 
> I had previously compiled Unbound 1.4.13 and the library files I
> got in /usr/local/lib included libunbound.so.2.13.0
> 
> I just compiled the latest Unbound 1.4.18 and the new library file 
> is libunbound.so.2.1.3
> 
> It's not so strange that the library has a different versioning
> from the package, however, 2.1.3 looks like older than 2.13.0.
> 
> Has the library gone backwards? Did the versioning scheme changed?

It uses GNU libtool versioning, shared library versions:
http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html

unbound version has libtool version current:revision:age
1.4.13 has 2:13:0
1.4.18 has 3:3:1

Because, at 1.4.14, the ub_version() call is added to the library,
making a new version (which is binary compatible with the previous
version).  So, there is a symlink for libunbound.so.2 binary API
(thus, existing programs continue to link and run).

The shared library numbers represent the library API.

Best regards,
   Wouter

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJQLQ0yAAoJEJ9vHC1+BF+N12MP/iOO4J7Myp/fNO/S+0sUl90n
y8yFUPc81vF7HBhOcQ/4ABrcauYr1AtIIKvWJg9gHLN/a0cxyOrfeRb4ZpMmjzO6
UJNn5SU7ZKPf5eI51tCn/tXwOBIcFzOr6g/6jJOZJr8EOt/TzsEE6yhTMxtsNElH
eA8QA/MLexBtMF6d20hehKxFWjptTJiStUjaxWTvINCtXxiE8vCkYtmXg4HftPgA
dLZloM2o82Ne1rR/49xthAZ29UmiJsLUWZQaTpQ8sKYoJtnnDdC4SUXLfGjoNQVi
ztedyKPJwDOlleLZn2ytC/E4F4YLGauuuHVeKYUUFB5LXPEHLSWVJOctjcp/hJxr
FWUSbRT4SyJd7k66ebecAIzfNv3XWNmlv/Ypk4zHOGkCsmkWdD1sq0lz3MBtncAp
W6J57Am2SxrnnGTt42nu8lAGLNgFUh39gLo3XVUOtDFhPa6If6sBUOfmBOkgoSOW
S4ftHdQAuAVq1ktWoLTnRmvGNLLeHR+PwLrCrHqh0b2fil2l/2H9/Sj/l4LTLLNb
SnL/x8Iyc0UlLE4ER5S1k4Bnaes0xk2MIVswqE3F3ZA6XXN1ytbp+BB5ewKc+L3D
/939BjOotYq6Lg4OUL1yQeo7Okyhfg2mIoyyyKGhGZ/1faQlXjMvryB3ytXoROl4
ybCPTU3dbpQZTvHCN/yg
=1zh8
-----END PGP SIGNATURE-----