dynamic linker:动态链接器;一种在程序运行时把可执行文件与共享库/动态库连接起来、完成符号解析与重定位并把所需代码映射到内存中的系统组件(常见于 Linux 的 ld.so/ld-linux,macOS 的 dyld,Windows 由加载器机制处理 DLL)。
/daɪˈnæmɪk ˈlɪŋkər/
The dynamic linker loads shared libraries when the program starts.
动态链接器会在程序启动时加载共享库。
If the dynamic linker cannot find the correct library version, the application may fail at runtime even though it compiled successfully.
如果动态链接器找不到正确的库版本,即使程序成功编译,也可能在运行时失败。
dynamic 来自希腊语 dynamis(“力量、动力”),引申为“变化的、运行时发生的”;linker 源于 link(“连接”)+ -er(表示执行者),合起来就是“在运行时执行连接工作的工具/组件”。该术语与传统“静态链接(static linking)”相对。