From 4aece11628c05a8c9147c8642e2800ace607cc2e Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 17 Mar 2025 23:33:39 -0400 Subject: [PATCH] add note about need to run `ldconfig` on Linux system after make install --- doc/src/Build_cmake.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/src/Build_cmake.rst b/doc/src/Build_cmake.rst index a38b42b4f4..2349eebf62 100644 --- a/doc/src/Build_cmake.rst +++ b/doc/src/Build_cmake.rst @@ -119,6 +119,13 @@ configured) and additional files like LAMMPS API headers, manpages, potential and force field files. The location of the installation tree 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: Configuration and build options