# dpkg manual page - deb-shlibs(5) # # Copyright © 1996 Michael Shields # Copyright © 2008 Zack Weinberg # # This is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . =encoding utf8 =head1 NAME deb-shlibs - Debian shared library information file =head1 SYNOPSIS B, BIB<.shlibs>, B =head1 DESCRIPTION B files map shared library names and versions (I) to dependencies suitable for a package control file. There is one entry per line. Blank lines are B allowed. Lines beginning with a B<#> character are considered commentary, and are ignored. All other lines must have the format: =over [IB<:>] I I I =back The I and I fields are whitespace-delimited, but the I field extends to the end of the line. The I field is optional and normally not needed. The I field has the same syntax as the B field in a binary control file, see L. =head1 SONAME FORMATS The SONAME formats supported are: =over I.so.I =back and =over I-I.so =back where I is usually prefixed by B. The former tends to be used by shared libraries with stable interfaces. The latter by shared libraries with unstable interfaces, where the whole version becomes part of the SONAME and needs to be specified in full when linking against those libraries. =head1 EXAMPLES The B file for a typical library package, named I, that provides one library whose SONAME is I, might read =over libcrunch 1 libcrunch1 (>= 1.2-1) =back The I must mention the most recent version of the package that added new symbols to the library: in the above example, new symbols were added to version 1.2 of I. This is not the only reason the dependencies might need to be tightened. =head1 SEE ALSO L, L, L.