LDD(1) - General Commands Manual # LDD(1) - General Commands Manual
NAME # ldd - list dynamic object dependencies
SYNOPSIS # ldd 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.
EXIT STATUS # The ldd utility exits 0 on success, and >0 if an error occurs.
...
Depends,
Ports,
Ld,
Pkg_add,
Packages,
Specs,
Ld.so,
Helper,
Bsd.port.mk,
Ldconfig,
Library-Specs LIBRARY-SPECS(7) - Miscellaneous Information Manual # LIBRARY-SPECS(7) - Miscellaneous Information Manual
NAME # library-specs - shared library name specifications
DESCRIPTION # Each WANTLIB item in the ports tree conforms to
[path/]libname[=major[.minor]] or
[path/]libname[>=major[.minor]] All libraries that a package needs must be mentioned in that list. Except for system and X11 libraries, they all must be reachable through LIB_DEPENDS and RUN_DEPENDS, directly, or indirectly through recursive dependencies.
Conversely, the ports tree uses WANTLIB to check whether a given LIB_DEPENDS will be required at runtime for shared libraries, and thus turn it into a @depend line (see pkg_create(1)) .
...