Skip to content

ldconfig(LPIC)

   

ldconfig

リンクの作成やライブラリのキャッシュを行うコマンドです。

ldconfig を実行すると /etc/ld.so.conf に基づいて /etc/ld.so.cache を再構築します。

/etc/ld.so.cache のファイル更新日を確認します。

$ ls -l /etc/ld.so.cache
-rw-r--r-- 1 root root 20231 Aug 15 15:17 /etc/ld.so.cache

ldconfig を実行します。

$ ldconfig

/etc/ld.so.cache のファイルが更新します。

$ ls -l /etc/ld.so.cache
-rw-r--r-- 1 root root 20231 Aug 15 15:17 /etc/ld.so.cache

関連記事

  1. whereis(LPIC)
  2. which(LPIC)
  3. locate,updatedb(LPIC)
  4. find(LPIC)
  5. ln(LPIC)
  6. chgrep(LPIC)
  7. chown(LPIC)