Bug#509932: shlibs format only addresses one versioning structure
Russ Allbery <rra@debian.org> writes:
> The current description of the shlibs format in section 8.6.3 assumes
> all shared libraries have SONAMEs of the form libfoo.so.<version>.
> However, Debian's tools also support a versioned SONAME of the form
> libfoo-<version>.so.
Here is the second patch, which addresses this issue. Objections or
seconds?
diff --git a/policy.sgml b/policy.sgml
index 9a72be5..2a634b8 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -5654,7 +5654,11 @@ objdump -p /usr/lib/libz.so.1.1.3 | grep SONAME
</example>
</footnote>
The version part is the part which comes after
- <tt>.so.</tt>, so in our case, it is <tt>1</tt>.
+ <tt>.so.</tt>, so in our case, it is <tt>1</tt>. The soname may
+ instead be of the form
+ <tt><var>name</var>-<var>major-version</var>.so</tt>, such
+ as <tt>libdb-4.8.so</tt>, in which case the version would
+ be <tt>4.8</tt>.
</p>
<p>
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: