1deb-shlibs(5) dpkg utilities deb-shlibs(5)
2
3
4
6 deb-shlibs - Debian shared library information file
7
9 shlibs files map shared library names and versions (sonames) to depen‐
10 dencies suitable for a package control file. There is one entry per
11 line. Blank lines are not allowed. Lines beginning with an # character
12 are considered commentary, and are ignored. All other lines must have
13 the format
14
15 [tag:] library version dependencies
16
17 The library and version fields are whitespace-delimited, but the depen‐
18 dencies field extends to the end of the line. The tag field is
19 optional and normally not needed.
20
21 See the Debian Policy Manual for further details.
22
24 The shlibs file for a typical library package, named libcrunch1, that
25 provides one library whose soname is libcrunch.so.1, might read
26
27 libcrunch 1 libcrunch1 (>= 1.2-1)
28
29 The dependencies must mention the most recent version of the package
30 that added new symbols to the library: in the above example, new sym‐
31 bols were added to version 1.2 of libcrunch. This is not the only rea‐
32 son the dependencies might need to be tightened; again, see the Debian
33 Policy Manual for details.
34
36 dpkg-shlibdeps(1), deb-symbols(5).
37
38
39
40Debian Project 2008-02-17 deb-shlibs(5)