Skip to content

Commit

Permalink
ldconfig: add page (tldr-pages#1536)
Browse files Browse the repository at this point in the history
  • Loading branch information
agnivade authored Oct 11, 2017
1 parent 1f76947 commit 3e90d69
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pages/linux/ldconfig.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# ldconfig

> Configure symlinks and cache for shared library dependencies.
- Update symlinks and rebuild the cache (usually run when a new library is installed):

`sudo ldconfig`

- Update the symlinks for a given directory:

`sudo ldconfig -n {{path/to/directory}}`

- Print the libraries in the cache and check whether a given library is present:

`ldconfig -p | grep {{library_name}}`

0 comments on commit 3e90d69

Please sign in to comment.