.TH zpm-soneed 8 2018-12-10 "ZPM 0.4" .SH NAME zpm-soneed \- list the library dependencies of an elf file .SH SYNOPSIS .B zpm soneed \fR[\fB-l\fR] \fIpath\fR .SH DESCRIPTION \fBzpm-soneed\fR prints to stdout the dynamic libraries needed by a given elf file. It is not an error if no needed libraries are found. .SH OPTIONS .TP \-l Don't follow symlinks. If the path is a symlink, this will cause the program to exit with status 1. .SH EXAMPLES .PP .nf zpm-soneed /usr/bin/vim .fi .SH EXIT STATUS .TP 0 if the file had an soname .TP 1 file is not a regular file, or unable to stat, no file given, or other file error .TP 2 unable map file to read elf info .TP 3 file is not an elf file .TP 4 file is not an dynamic library or executable file .TP 5 unable to determine 64 or 32 bit elf file .TP 6 unable to determine endianness .TP 7 File has no dynamic section .TP 9 File has no dynamic table .SH FILES None .SH ENVIRONMENT None .SH AUTHOR Nathan Wagner .SH SEE ALSO zpm(8)