]> git.donarmstrong.com Git - debian/debian-policy.git/commitdiff
Document the alternate SONAME format used by libtool -release
authorRuss Allbery <rra@debian.org>
Thu, 1 Jul 2010 19:51:39 +0000 (12:51 -0700)
committerRuss Allbery <rra@debian.org>
Sat, 3 Jul 2010 18:09:31 +0000 (11:09 -0700)
Document the SONAME format where the version number comes before
the .so and after a hyphen and provide another example.

policy.sgml

index 9a72be5718b225d811c560481fcab64fb5c2e335..f0e3f8d320dcf52b960b0dd71e8101681e364be5 100644 (file)
@@ -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 name would
+         be <tt>libdb</tt> and the version would be <tt>4.8</tt>.
        </p>
 
        <p>