[LTP] [PATCH 1/1] configure.ac: More descriptive NUMA error message

Petr Vorel pvorel@suse.cz
Thu Jan 21 11:22:39 CET 2021


Some people were confused and searched for libnuma.so.2,
which does not exist.

Required is libnuma.so.1, but with LIBNUMA_API_VERSION >= 2.
The API version is tighten to libnuma version in git, but that has
nothing to do with library soname version, which is still 1.0.0.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index e44e25cc6..521a2e835 100644
--- a/configure.ac
+++ b/configure.ac
@@ -347,7 +347,7 @@ LTP_CHECK_SYSCALL_FCNTL
 
 if test "x$with_numa" = xyes; then
 	LTP_CHECK_SYSCALL_NUMA
-	numa_error_msg="test requires libnuma >= 2 and it's development packages"
+	numa_error_msg="test requires libnuma1 with LIBNUMA_API_VERSION >= 2 and it's development packages"
 else
 	numa_error_msg="NUMA support was disabled during build"
 fi
-- 
2.30.0



More information about the ltp mailing list