Forrest logo
back to context overview

ldconfig

List of commands for ldconfig:

  • ldconfig:tldr:5e846 ldconfig: Update symlinks and rebuild the cache (usually run when a new library is installed).
    $ sudo ldconfig
    try on your machine
    explain this command
  • ldconfig:tldr:6d2d4 ldconfig: Update the symlinks for a given directory.
    $ sudo ldconfig -n ${path-to-directory}
    try on your machine
    explain this command
  • ldconfig:tldr:f46e9 ldconfig: Print the libraries in the cache and check whether a given library is present.
    $ ldconfig -p | grep ${library_name}
    try on your machine
    explain this command
back to context overview