blob: 63c26c000fe5df6b12f62326d0fff49b365687c0 (
plain)
1 NAME
2 revdep - checks for missing libraries of installed packages
3 SYNOPSIS
4 revdep [-h] [-v|-vv|-vvv|-vvvv] [package...]
5 DESCRIPTION
6 revdep checks for missing libraries of installed packages using elfutils'
7 libelf and the same algorithm that ld.so(8) uses.
8 OPTIONS
9 -h The option -h displays help
10 -d Specify an alternate location for the package database
11 -c Specify an alternate location for ld.so.conf
12 -r Specify an alternate directory for revdep package config
13 -i Comma-separated list of ports to ignore
14 -v Formatted listing
15 -vv Include errorous files
16 -vvv Include precise file errors
17 -vvvv Show debug/trace
18 EXAMPLE
19 Try this command to list broken packages:
20
21 $ revdep
22
23 Use this command to rebuild packages on your system:
24
25 # prt-get update -fr $(revdep)
26 ADDITIONAL LIBRARY DIRECTORIES
27 Upon startup, revdep searches the /etc/revdep.d directory for files named
28 after ports. If any are found, any directories (assumed to be absolute
29 pathes and delimited by newlines) within the file are added to a list of
30 port specific directories to search if a library dependency is not found
31 in one of the many standard locations (as specified by ld.so(8)).
32
33 If a port is discovered to have library dependencies that are in a
34 non-standard location, then a file, as specified above, should be created.
35
36 For example, if the port "firefox" has a "libxul.so" dependency in a
37 the non-standard directory "/usr/lib/firefox" then a file named "firefox"
38 should be created under "/etc/revdep.d" with a single line containing
39 "/usr/lib/firefox". This will tell revdep where to find firefox's "libxul.so"
40 when looking for its library dependencies, reducing one source of false
41 positives. Ideally, this file would be included with the port's own packaging
42 as well.
43 NOTES
44 C++ rewrite inspired by Johannes Winkelmann's <jw@tks6.net> shell revdep.
45 Contributed to design Danny Rawlins <contact@romster.me>.
46 SEE ALSO
47 ld.so(8), prt-get(8), pkginfo(1)
48 AUTHOR
49 James Buren, ryuo @ freenode
|