From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 24 Oct 2022 10:31:24 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1omsrk-000RiD-PF for lore@lore.pengutronix.de; Mon, 24 Oct 2022 10:31:24 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1omsrk-00063X-4s; Mon, 24 Oct 2022 10:31:24 +0200 Received: from mail.thorsis.com ([92.198.35.195]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1omsqz-00062u-A8 for ptxdist@pengutronix.de; Mon, 24 Oct 2022 10:30:38 +0200 Received: from adahl by ada.ifak-system.com with local (Exim 4.92) (envelope-from ) id 1omsqx-00005F-Oq for ptxdist@pengutronix.de; Mon, 24 Oct 2022 10:30:35 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thorsis.com; s=default; t=1666600236; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:content-transfer-encoding:content-transfer-encoding; bh=v7lqhHG4ux6q/b6I3lM2x0ohkagXcnNlqmUbFC5T7SM=; b=X1ks3v+735YGna2/uZGCjmFBkFSep98qJtfTHwMxa9rLOL9EBFhBHID+qa25XM7ZMjG2QB k94gk9CwF4dm3KFk3FZDcV7jK4ivg1CoFElOb/zAFCjCfh/I06RYBwHE3WQQECCgYAHKqq WDfhzKzfNR8WhPU4rat7V8D5q+xyvKR+Ip8UQck3xt0tclEK/Pn4CslEfpmVJ2nrWUVmWb By1yPGf22yXKEDat+5UMsK8ZYiIJ+AIx92U5+fa8dD+MWU4fMXsLM9bdGh0gRuO3fnosu7 6EcTTmtsO1jyBOqbcl6qbB4WjbPOHTFOfdZHQYkmDdsT510pHO90leoMnIR+oA== From: Alexander Dahl To: ptxdist@pengutronix.de Date: Mon, 24 Oct 2022 10:30:35 +0200 Message-Id: <20221024083035.32746-1-ada@thorsis.com> Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.8 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH] monit: Add dependency to nsl X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Console log is flooded with this: /usr/bin/monit: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory Output of readelf is this: Dynamic section at offset 0xa5a50 contains 35 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [librt.so.1] 0x00000001 (NEEDED) Shared library: [libm.so.6] 0x00000001 (NEEDED) Shared library: [libpthread.so.0] 0x00000001 (NEEDED) Shared library: [libcrypt.so.1] 0x00000001 (NEEDED) Shared library: [libresolv.so.2] 0x00000001 (NEEDED) Shared library: [libnsl.so.1] 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x00000001 (NEEDED) Shared library: [ld-linux-armhf.so.3] Console log flooding is gone after setting the option. Signed-off-by: Alexander Dahl --- rules/monit.in | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/monit.in b/rules/monit.in index 383433e78..9db337331 100644 --- a/rules/monit.in +++ b/rules/monit.in @@ -3,6 +3,7 @@ menuconfig MONIT tristate prompt "monit " + select LIBC_NSL select OPENSSL if MONIT_SSL select ZLIB if MONIT_ZLIB select BUSYBOX_START_STOP_DAEMON if MONIT_STARTSCRIPT base-commit: 30caaac3f949cf650402516f80807d22af46bd4e -- 2.30.2