[libcamera-devel] [PATCH] README: Add 'ldconfig' note

Kieran Bingham kieran.bingham at ideasonboard.com
Tue May 23 13:25:30 CEST 2023


Provide an update in the README.rst to reflect that a first install may
require a manual call to 'ldconfig' as the root user.

Meson install does not do this.

Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
 README.rst | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/README.rst b/README.rst
index 34b6b49f3575..48629280a936 100644
--- a/README.rst
+++ b/README.rst
@@ -37,6 +37,24 @@ To fetch the sources, build and install:
   meson setup build
   ninja -C build install
 
+
+First run
+~~~~~~~~~
+
+For a first install, or an install with a newer library version the linker
+configuration may need to be updated. If you experience any error such as :
+
+::
+
+   cam: error while loading shared libraries: libcamera.so.0.0.4: cannot open shared object file: No such file or directory
+
+please run:
+
+::
+
+  sudo ldconfig
+
+
 Dependencies
 ~~~~~~~~~~~~
 
-- 
2.34.1



More information about the libcamera-devel mailing list