From 90219474acded18e6f0eb2a244e1190ccf3db977 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 19 Nov 2025 09:54:24 -0600 Subject: [PATCH] Add a note about updating libcap. If the go compiler is present when updating libcap, the build fails. This note tells th euser how to work around the problem. --- chapter08/libcap.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/chapter08/libcap.xml b/chapter08/libcap.xml index 09a56f343..74e32c036 100644 --- a/chapter08/libcap.xml +++ b/chapter08/libcap.xml @@ -43,6 +43,15 @@ Installation of Libcap + + + If updating this package on an existing system and the go compiler is + installed, prevent a build error by using export GOLANG=no + before running the commands below. Be sure to unset GOLANG + after installation is complete. + + + Prevent static libraries from being installed: sed -i '/install -m.*STA/d' libcap/Makefile