From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 24 Oct 2022 14:29:29 +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 1omwa9-000gp3-UQ for lore@lore.pengutronix.de; Mon, 24 Oct 2022 14:29:29 +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 1omwa9-0002fK-8U; Mon, 24 Oct 2022 14:29:29 +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 1omwZY-0002f9-CS for ptxdist@pengutronix.de; Mon, 24 Oct 2022 14:28:53 +0200 From: Alexander Dahl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thorsis.com; s=default; t=1666614531; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D4VcX+oEU8fePv64mmcvwDO0M9pr1+zLhPRPhg6XOQI=; b=EJGJ3hHqk98iDr1uodHojPqmAYmsNr0ngGySCQ+dT4IzX41+YYTYSfPq9L6D3l9+nFu8kq 5oNIynTv/9/CEOHBXsfkSDSxuOhmllYYvjPmWpIWkV+l9VVYTkSHGUgMO4fD93lWAk8jkU gcBhx191eok/zzaYu1FRZHQJY8z1CD0rW1tsqnOsnftr/nzUGQXoaaQBAgjsCnMzqRsjMA Pn7v6zu/KewB624Bjo8sNPM4gKiYuM2MTNDjNWbZffS3LAVLu/xHmhgPq0h/LCmF9tJik3 1njRw14541ejOfioTCQL1QMM4m/D9Lq7OOZicUWdsUHd3BNKWpJNFPNO5ChqsA== To: ptxdist@pengutronix.de Date: Mon, 24 Oct 2022 14:28:50 +0200 Message-ID: <17374513.6R07E8ZAPD@ada> In-Reply-To: <20221024083035.32746-1-ada@thorsis.com> References: <20221024083035.32746-1-ada@thorsis.com> Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Clacks-Overhead: GNU Terry Pratchett 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: Re: [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 Hei hei, Am Montag, 24. Oktober 2022, 10:30:35 CEST schrieb Alexander Dahl: > Console log is flooded with this: >=20 > /usr/bin/monit: error while loading shared libraries: libnsl.so.1: > cannot open shared object file: No such file or directory >=20 > Output of readelf is this: >=20 > 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] >=20 > Console log flooding is gone after setting the option. >=20 > Signed-off-by: Alexander Dahl > --- > rules/monit.in | 1 + > 1 file changed, 1 insertion(+) >=20 > 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 Well, this works with OSELAS.Toolchain-2018.02.0/arm-v7a-linux-gnueabihf wh= ich=20 I used up to now in the BSP in question. However on another BSP with=20 OSELAS.Toolchain-2020.08.0/arm-v7a-linux-gnueabihf I get the following erro= r: [74/86] started : glibc.targetinstall install_copy_toolchain_lib: libnsl.so not found Both BSPs are still on ptxdist-2021.03.0 =E2=80=A6 what's the best way to q= uickly=20 solve this? Upgrade to recent ptxdist and toolchain might be possible, but= =20 that takes quite some time, and I don't have much for that currently, so an= =20 alternative approach would be appreciated. O:-) Greets Alex >=20 > base-commit: 30caaac3f949cf650402516f80807d22af46bd4e