1COPYDEPS(1)                  User Commands Manual                  COPYDEPS(1)
2
3
4

NAME

6       copydeps - copy a program's dependencies (.so / .dll files)
7

SYNOPSIS

9       copydeps [OPTIONS] EXECUTABLE [TARGET-DIR]
10

DESCRIPTION

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

OPTIONS

26       --dry-run
27              Print the list of dependencies without actually copying the  .so
28              / .dll files.
29
30       --exedir
31              Include  the  directory  of  the  executable  in  the .so / .dll
32              resolve paths.  Files found in the  exedir  are  preferred  over
33              those found anywhere else.
34
35       --help Print a short help message and exit.
36
37       --ignore PATTERN
38              Add  the  regular  expression  PATTERN to the ignore-list (.so /
39              .dll names that should not be resolved nor copied over).
40
41       --no-clobber
42              Do not overwrite .so / .dll files already existing in the target
43              directory.
44
45       --override PATTERN
46              Add  the  regular expression PATTERN to the override-list (.so /
47              .dll names that should always  be  resolved  and  copied  over).
48              Overrides take precedence over ignores.
49
50       --search-dir DIRECTORY
51              Add  DIRECTORY to the list of paths to search when resolving .so
52              / .dll names.  User-specified directories take  precedence  over
53              system paths.
54
55       --verbose
56              Print  the  names  of  the  dependencies as they're being copied
57              over.
58
59       --version
60              Print version information and exit.
61

EXIT STATUS

63       0      Success.
64
65       1      An error in program arguments.
66
67       2      Failed to parse EXECUTABLE, or it's an unsupported format.
68
69       3      Failed to parse one of the .so / .dll  files,  be  it  a  direct
70              dependency of EXECUTABLE, or a dependency of another library.
71
72       4      Failed to resolve one or more of the dependency names.
73
74       5      An error occurred when copying one or more of the files.
75

SEE ALSO

77       ldd(1), objdump(1)
78
79
80
81                                  2020-06-28                       COPYDEPS(1)
Impressum