forked from tldr-pages/tldr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ldconfig: add page (tldr-pages#1536)
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}}` |