Changeset c2863e6


Ignore:
Timestamp:
04/19/2020 08:14:10 AM (18 months 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, cross-chap5, ml-11.0, multilib, old-trunk, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
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.