]> pd.if.org Git - zpackage/blob - doc/zpm-soneed.8
remove stray debug fprintf
[zpackage] / doc / zpm-soneed.8
1 .TH zpm-soneed 8 2018-12-10 "ZPM 0.4"
2 .SH NAME
3 zpm-soneed \- list the library dependencies of an elf file
4 .SH SYNOPSIS
5 .B zpm soneed \fR[\fB-l\fR] \fIpath\fR
6 .SH DESCRIPTION
7 \fBzpm-soneed\fR prints to stdout the dynamic libraries needed
8 by a given elf file.  It is not an error if no needed libraries
9 are found.
10 .SH OPTIONS
11 .TP
12 \-l
13 Don't follow symlinks.  If the path is a symlink, this will cause the program
14 to exit with status 1.
15 .SH EXAMPLES
16 .PP
17 .nf
18 zpm-soneed /usr/bin/vim
19 .fi
20 .SH EXIT STATUS
21 .TP
22 0
23 if the file had an soname
24 .TP
25 1
26 file is not a regular file, or unable to stat, no file given, or other file error
27 .TP
28 2
29 unable map file to read elf info
30 .TP
31 3
32 file is not an elf file
33 .TP
34 4
35 file is not an dynamic library or executable file
36 .TP
37 5
38 unable to determine 64 or 32 bit elf file
39 .TP
40 6
41 unable to determine endianness
42 .TP
43 7
44 File has no dynamic section
45 .TP
46 9
47 File has no dynamic table
48 .SH FILES
49 None
50 .SH ENVIRONMENT
51 None
52 .SH AUTHOR
53 Nathan Wagner
54 .SH SEE ALSO
55 zpm(8)