From a4f6d4ae6823c3d09c2d2ee18f00fb482ec41fe1 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 15 Aug 2026 01:38:31 -0400 Subject: sbopkglint: Fix glibc detection (GLIBC_PRIVATE). --- sbopkglint.d/20-arch.t.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbopkglint.d/20-arch.t.sh b/sbopkglint.d/20-arch.t.sh index c904fb2..b2a877c 100644 --- a/sbopkglint.d/20-arch.t.sh +++ b/sbopkglint.d/20-arch.t.sh @@ -44,7 +44,7 @@ glibc_check() { # get the highest required glibc verson from the binary. there *must* # be a cleaner way to do this, but I haven't found it yet. ver="$( objdump -p "$1" 2>/dev/null | \ - sed -n '/Version Ref/,$s/GLIBC_/&/p' | \ + sed -n '/Version Ref/,$s/GLIBC_[0-9]\./&/p' | \ rev | cut -d_ -f1 | rev | sort -V | tail -n 1 )" [ "$ver" = "" ] && return # probably a static binary -- cgit v1.2.3