1 # dpkg manual page - deb-shlibs(5)
3 # Copyright © 1996 Michael Shields <shields@crosslink.net>
4 # Copyright © 2008 Zack Weinberg <zackw@panix.com>
6 # This is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
11 # This is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program. If not, see <https://www.gnu.org/licenses/>.
23 deb-shlibs - Debian shared library information file
27 B<debian/shlibs>, B<debian/>I<binary-name>B<.shlibs>, B<DEBIAN/shlibs>
32 files map shared library names and versions
34 to dependencies suitable for a package control file.
35 There is one entry per line.
36 Blank lines are B<not> allowed.
38 with a B<#> character are considered commentary, and are ignored.
39 All other lines must have the format:
50 The I<library> and I<version> fields are whitespace-delimited,
51 but the I<dependencies> field extends to the end of the line.
53 I<type> field is optional and normally not needed.
55 The I<dependencies> field has the same syntax as the B<Depends>
56 field in a binary control file, see L<deb-control(5)>.
60 The SONAME formats supported are:
76 where I<name> is usually prefixed by B<lib>.
78 The former tends to be used by shared libraries with stable interfaces.
79 The latter by shared libraries with unstable interfaces, where the whole
80 version becomes part of the SONAME and needs to be specified in full
81 when linking against those libraries.
87 file for a typical library package, named
89 that provides one library whose SONAME is
95 libcrunch 1 libcrunch1 (>= 1.2-1)
100 must mention the most recent version of the package that added new
101 symbols to the library: in the above example, new symbols were added to
104 This is not the only reason the dependencies might need to be
111 L<dpkg-shlibdeps(1)>.