Author: pierre
Date: Sun Apr 19 01:14:10 2020
New Revision: 11815
Log:
Add remarks about .la files telling that they are potentially harmful
Modified:
trunk/BOOK/chapter05/stripping.xml
trunk/BOOK/chapter06/revisedchroot.xml
Modified: trunk/BOOK/chapter05/stripping.xml
==============================================================================
--- trunk/BOOK/chapter05/stripping.xml Sun Apr 19 00:54:14 2020 (r11814)
+++ trunk/BOOK/chapter05/stripping.xml Sun Apr 19 01:14:10 2020 (r11815)
@@ -31,7 +31,10 @@
<screen><userinput>rm -rf /tools/{,share}/{info,man,doc}</userinput></screen>
- <para>Remove unneeded files:</para>
+ <para>The libtool .la files are only useful when linking with static
+ libraries. They are unneeded, and potentially harmful, when using dynamic
+ shared libraries, specially when using also non-autotools build systems.
+ Remove those files now:</para>
<screen><userinput>find /tools/{lib,libexec} -name \*.la
-delete</userinput></screen>
Modified: trunk/BOOK/chapter06/revisedchroot.xml
==============================================================================
--- trunk/BOOK/chapter06/revisedchroot.xml Sun Apr 19 00:54:14 2020
(r11814)
+++ trunk/BOOK/chapter06/revisedchroot.xml Sun Apr 19 01:14:10 2020
(r11815)
@@ -59,8 +59,10 @@
<para>There are also several files installed in the /usr/lib and /usr/libexec
directories with a file name extention of .la. These are "libtool archive"
- files and generally unneeded on a linux system. None of these are necessary
- at this point. To remove them, run:</para>
+ files. As already said, they are only useful when linking with static
+ libraries. They are unneeded, and potentially harmful, when using dynamic
+ shared libraries, specially when using also non-autotools build systems.
+ To remove them, run:</para>
<screen><userinput>find /usr/lib /usr/libexec -name \*.la
-delete</userinput></screen>
--
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page