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.
OK, but shouldn’t the main binary be called libunbound.so.3.1 (or something like that) instead of libunbound.so.2.1.3? That is, then you can symlink it from libunbound.so.2 and so on.
Here’s the content of my recently compiled & installed /usr/local/lib: