[PATCH 8/9] test-installation: skip libnsl

Xi Ruoyao xry111@xry111.site
Sat Sep 19 10:04:43 GMT 2026


We only provides an old SONAME for backward compatibility, so -lnsl will
either fail or end up linking against libnsl.so.3 from a different
package.

Signed-off-by: Xi Ruoyao <xry111@xry111.site>
---
 scripts/test-installation.pl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/test-installation.pl b/scripts/test-installation.pl
index 09081f22e7..cce7691a92 100755
--- a/scripts/test-installation.pl
+++ b/scripts/test-installation.pl
@@ -124,6 +124,8 @@ while (<SOVERSIONS>) {
       "gcc_s", "unwind",
       # are dummy SONAMEs for compatibility, unavailable for -l
       "nss_dns", "nss_files",
+      # conflicts with the libnsl package
+      "nsl",
       # are empty static libraries, unavailable for ldd to find
       "dl", "rt", "pthread", "util",
     );
-- 
2.55.0



More information about the Libc-alpha mailing list