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 <a...@thorsis.com>
---
 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


Reply via email to