Changeset c2863e6


Ignore:
Timestamp:
04/19/2020 08:14:10 AM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
924667e
Parents:
a5dddcb
Message:

Add remarks about .la files telling that they are potentially harmful

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11815 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter05/stripping.xml

    ra5dddcb rc2863e6  
    3232<screen><userinput>rm -rf /tools/{,share}/{info,man,doc}</userinput></screen>
    3333
    34   <para>Remove unneeded files:</para>
     34  <para>The libtool .la files are only useful when linking with static
     35  libraries. They are unneeded, and potentially harmful, when using dynamic
     36  shared libraries, specially when using also non-autotools build systems.
     37  Remove those files now:</para>
    3538
    3639<screen><userinput>find /tools/{lib,libexec} -name \*.la -delete</userinput></screen>
  • chapter06/revisedchroot.xml

    ra5dddcb rc2863e6  
    6060  <para>There are also several files installed in the /usr/lib and /usr/libexec
    6161  directories with a file name extention of .la. These are "libtool archive"
    62   files and generally unneeded on a linux system. None of these are necessary
    63   at this point. To remove them, run:</para>
     62  files. As already said, they are only useful when linking with static
     63  libraries. They are unneeded, and potentially harmful, when using dynamic
     64  shared libraries, specially when using also non-autotools build systems.
     65  To remove them, run:</para>
    6466
    6567<screen><userinput>find /usr/lib /usr/libexec -name \*.la -delete</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.