summaryrefslogtreecommitdiffstats
path: root/tags/l/lacks-unversioned-link-to-shared-library.tag
blob: 92ad571adad549de227bddefcbc70e49c39d1a41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Tag: lacks-unversioned-link-to-shared-library
Severity: warning
Check: libraries/shared/links
Renamed-From:
 dev-pkg-without-shlib-symlink
Explanation: A <code>-dev</code> package is supposed to install an unversioned
 symbolic link that references the shared library by name.
 .
 There is no requirement that the names are otherwise related.
 .
 The dynamic linker uses the link to load the executable into memory.
 .
 In most cases, the symbolic link should be in the same folder as the library itself.
 A major exception are libraries installed under <code>/lib</code>. In those cases,
 the links should go into the corresponding folders under <code>/usr</code>.
 .
 For a library installed as <code>/lib/i386-linux-gnu/libXYZ.so.V</code>, a good link
 would be <code>/usr/lib/i386-linux-gnu/libXYZ.so</code>.
 .
 This tag is emitted for the library package and not for the <code>-dev</code> package.
 That is because Lintian looks for links after locating the library. The links can be
 in any of several installables, but there is only one library for each set of links
 pointing to it.
See-Also:
 debian-policy 8.4
 Bug#963099