SpaceMarkdown/Test.md

6 lines
656 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Ldconfig 命令
ldconfig命令的用途主要是在默认搜寻目录/lib和/usr/lib以及动态库配置文件/etc/ld.so.conf内所列的目录下搜索出可共享的动态链接库格式如lib*.so*,进而创建出动态装入程序(ld.so)所需的连接和缓存文件。缓存文件默认为/etc/ld.so.cache此文件保存已排好序的动态链接库名字列表为了让动态链接库为系统所共享需运行动态链接库的管理命令ldconfig此执行程序存放在/sbin目录下。
ldconfig通常在系统启动时运行而当用户安装了一个新的动态链接库时就需要手工运行这个命令。