add note about need to run ldconfig on Linux system after make install

This commit is contained in:
Axel Kohlmeyer
2025-03-17 23:33:39 -04:00
parent 7d6c19f51b
commit 4aece11628

View File

@ -119,6 +119,13 @@ configured) and additional files like LAMMPS API headers, manpages,
potential and force field files. The location of the installation tree potential and force field files. The location of the installation tree
defaults to ``${HOME}/.local``. defaults to ``${HOME}/.local``.
.. note::
If you have set `-D CMAKE_INSTALL_PREFIX` to install LAMMPS into a
system location on a Linux machine , you may also have to run (as
root) the `ldconfig` program to update the cache file for fast lookup
of system shared libraries.
.. _cmake_options: .. _cmake_options:
Configuration and build options Configuration and build options