From 02b0fe0063808887b318483c177cd23c2b4b713b Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 18 Dec 2019 16:53:23 +0100 Subject: [PATCH] installpanda: add note about needing to call "sudo ldconfig" This note only appears when not using --destdir This should help avoid user confusion (such as in #818) [skip ci] --- makepanda/installpanda.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/makepanda/installpanda.py b/makepanda/installpanda.py index dcb18a72bf..529913aadf 100644 --- a/makepanda/installpanda.py +++ b/makepanda/installpanda.py @@ -322,3 +322,8 @@ if (__name__ == "__main__"): outputdir=options.outputdir, python_versions=ReadPythonVersionInfoFile()) print("Installation finished!") + + if not destdir: + warn_prefix = "%sNote:%s " % (GetColor("red"), GetColor()) + print(warn_prefix + "You may need to call this command to update the library cache:") + print(" sudo ldconfig")