1COPYDEPS(1) User Commands Manual COPYDEPS(1)
2
3
4
6 copydeps - copy a program's dependencies (.so / .dll files)
7
9 copydeps [OPTIONS] EXECUTABLE [TARGET-DIR]
10
12 copydeps is a small program that can be used to find and copy all .so /
13 .dll files needed by a program to run. This can be useful when you
14 want to bundle an application together will all its dependencies.
15
16 EXECUTABLE can be one of the following supported formats:
17 · 32-bit ELF
18 · 64-bit ELF
19 · i386 Microsoft Windows executable
20 · x86_64 Microsoft Windows executable
21
22 TARGET-DIR specifies the directory to copy the .so / .dll files to.
23 When omitted, defaults to the directory of the target executable.
24
26 --blacklist PATTERN
27 Add PATTERN to the built-in blacklist (.so / .dll names that
28 should not be resolved nor copied over).
29
30 --dry-run
31 Print the list of dependencies without actually copying the .so
32 / .dll files.
33
34 --exedir
35 Include the directory of the executable in the .so / .dll
36 resolve paths. Files found in the exedir are preferred over
37 those in system paths.
38
39 --help Print a short help message and exit.
40
41 --no-clobber
42 Do not overwrite .so / .dll files already existing in the target
43 directory.
44
45 --search-dir DIRECTORY
46 Add DIRECTORY to the list of paths to search when resolving .so
47 / .dll names. User-specified directories take precedence over
48 system paths.
49
50 --verbose
51 Print the names of the dependencies as they're being copied
52 over.
53
54 --version
55 Print version information and exit.
56
57 --whitelist PATTERN
58 Add PATTERN to the whitelist (.so / .dll names that should
59 always be resolved and copied over). The whitelist takes prece‐
60 dence over the blacklist.
61
63 An exit status of 0 indicates success. Should the program fail to
64 resolve any of the dependencies, or there is an error when copying the
65 files over to the target directory, the exit status will be non-zero.
66
67 When performing a dry run, the exit status will always be 0, even if
68 the program failed to resolve some dependencies.
69
71 ldd(1), objdump(1)
72
73
74
75 2019-08-08 COPYDEPS(1)