From 3d65730e220e697fad48dc8d1b0d688a83c8180e Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Mon, 19 Sep 2022 14:12:17 +0800 Subject: cleanup: rephrase description for .la removal Don't emphasis "static library" at all, to prevent anyone from thinking "I need to use static libraries so I'll keep these .la files". And warn that .la files are known to break BLFS packages. --- chapter08/cleanup.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'chapter08') diff --git a/chapter08/cleanup.xml b/chapter08/cleanup.xml index 9da3828a7..c55b7af2f 100644 --- a/chapter08/cleanup.xml +++ b/chapter08/cleanup.xml @@ -16,10 +16,10 @@ There are also several files installed in the /usr/lib and /usr/libexec directories with a file name extension of .la. These are "libtool archive" - files. As already said, they are only useful when linking with static - libraries. They are unneeded when using ELF dynamic shared libraries, and - it's known they can cause BLFS packages fail to build. - To remove them, run: + files. As already said, on a modern Linux system the libtool .la files are + only useful for libltdl. No libraries in LFS are expected to be loaded + by libltdl, and it's known that some .la files can cause BLFS packages + fail to build. Remove those files now: find /usr/lib /usr/libexec -name \*.la -delete -- cgit v1.2.3-54-g00ecf