MirBSD manpage: ldd(1)
LDD(1) BSD Reference Manual LDD(1)
NAME
ldd - list dynamic object dependencies
SYNOPSIS
ldd [-x] program
DESCRIPTION
ldd displays the shared objects needed to run program. ldd uses the
DT_NEEDED tags to determine what dynamic objects are required. To list
the objects ldd sets the environment variable LD_TRACE_LOADED_OBJECTS and
then execs program.
If ldd is invoked with the -x flag, the tags from program are listed
without using current ldconfig configuration.
DIAGNOSTICS
Exit status 0 if no error. Exit status 1 if arg error. Exit status 2 if
program can't be read. If ldd fails to open the program file a message is
printed.
SEE ALSO
ld.so(1), ldconfig(8)
MirBSD #10-current October 4, 1996 1