LD.SO(1) - General Commands Manual # LD.SO(1) - General Commands Manual
NAME # ld.so - run-time link-editor
DESCRIPTION # ld.so is a self-contained, position independent program image providing run-time support for loading and link-editing shared objects into a process’s address space. It uses the data structures (see elf(5)) contained within dynamically linked programs to determine which shared libraries are needed and loads them at a convenient virtual address using the mmap(2) system call.
...
LDCONFIG(8) - System Manager’s Manual # LDCONFIG(8) - System Manager’s Manual
NAME # ldconfig - configure the shared library cache
SYNOPSIS # ldconfig [-mRrsUv] [path …]
DESCRIPTION # ldconfig is used to prepare a set of “hints” for use by the run-time linker ld.so(1) to facilitate quick lookup of shared libraries available in multiple directories. It scans a set of built-in system directories and any directories specified on the command line (in the given order) looking for shared libraries and stores the results in the file /var/run/ld.
...
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)) .
...