From patchwork Tue May 23 11:25:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 18647 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 645E1C31E9 for ; Tue, 23 May 2023 11:25:37 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B41806285F; Tue, 23 May 2023 13:25:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1684841136; bh=gzg93A8rpZgfniYeFWS/ENvTtPS/BqaH+RWV1OlbMI8=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=ozMpgIsCBfrTRCydmt2R72hkF330hxd3jic2OVhmnLMkg9fuKXNbP8w/v+YIpl1Kg cbGUFnFTi1RanQxtxCHaIqWkvjuCAMOs9UsEfra4hAI5FGRKL8w6yUnVw2dBcdM86V iPHPo9RWjvkRs23Q/ymmJ70DuUu1+pdUor1ifRRBpdwpQjJvlnleigh8RF/0+57qy0 8nzYMM6hnmLtc7FoE0vdR9kuZxWo0b2niYG/h4EIZv7RloU+AJStQ6j0j5IjeEu1+Y xe2qmHPGubbL8OkDXS+S+V8tb2NUb+qCHR9PzBjjyDEqfNtR4NAOB2fQ/MHbcq9wk3 eHSpxytlupgkQ== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id F37AB603F7 for ; Tue, 23 May 2023 13:25:35 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="bqD4Wdcp"; dkim-atps=neutral Received: from Monstersaurus.local (aztw-30-b2-v4wan-166917-cust845.vm26.cable.virginm.net [82.37.23.78]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id BE08B881; Tue, 23 May 2023 13:25:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1684841119; bh=gzg93A8rpZgfniYeFWS/ENvTtPS/BqaH+RWV1OlbMI8=; h=From:To:Cc:Subject:Date:From; b=bqD4Wdcp4Dnd0zyMnqXLroQpcinSdnG7lVPMIRsQjnD0QGJy16iskHvt/2xA+3Q29 oaBoxWKzCoQIEd05cE7KwzJQxcruO9F+anuCrvaNY19ghWSDvrkK7kx9n1EPscSv+f TlvLw5VKWQyBL4FwclObPZJodtG7VXIs7zg5Y91k= To: libcamera devel Date: Tue, 23 May 2023 12:25:30 +0100 Message-Id: <20230523112530.2837538-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] README: Add 'ldconfig' note X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Kieran Bingham via libcamera-devel From: Kieran Bingham Reply-To: Kieran Bingham Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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 Reviewed-by: Jacopo Mondi --- 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 ~~~~~~~~~~~~