Changeset 3d65730e


Ignore:
Timestamp:
09/19/2022 06:12:17 AM (20 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
670f55f, 6c952e3
Parents:
4e381f9
Message:

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.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter07/cleanup.xml

    r4e381f9 r3d65730e  
    1919<screen><userinput>rm -rf /usr/share/{info,man,doc}/*</userinput></screen>
    2020
    21     <para>Second, the libtool .la files are only useful when linking with static
    22     libraries. They are unneeded and potentially harmful when using dynamic
    23     shared libraries, especially when using non-autotools build systems.
    24     While still in chroot, remove those files now:</para>
     21    <para>Second, on a modern Linux system, the libtool .la files are only
     22    useful for libltdl.  No libraries in LFS are expected to be loaded by
     23    libltdl, and it's known that some .la files can cause BLFS packages
     24    fail to build.  Remove those files now:</para>
    2525
    2626<screen><userinput>find /usr/{lib,libexec} -name \*.la -delete</userinput></screen>
  • chapter08/cleanup.xml

    r4e381f9 r3d65730e  
    1717  <para>There are also several files installed in the /usr/lib and /usr/libexec
    1818  directories with a file name extension of .la. These are "libtool archive"
    19   files. As already said, they are only useful when linking with static
    20   libraries. They are unneeded when using ELF dynamic shared libraries, and
    21   it's known they can cause BLFS packages fail to build.
    22   To remove them, run:</para>
     19  files. As already said, on a modern Linux system the libtool .la files are
     20  only useful for libltdl.  No libraries in LFS are expected to be loaded
     21  by libltdl, and it's known that some .la files can cause BLFS packages
     22  fail to build.  Remove those files now:</para>
    2323
    2424<screen><userinput>find /usr/lib /usr/libexec -name \*.la -delete</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.