mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
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
This commit is contained in:
parent
a5dddcb516
commit
c2863e6d25
@ -31,7 +31,10 @@
|
|||||||
|
|
||||||
<screen><userinput>rm -rf /tools/{,share}/{info,man,doc}</userinput></screen>
|
<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>
|
<screen><userinput>find /tools/{lib,libexec} -name \*.la -delete</userinput></screen>
|
||||||
|
|
||||||
|
@ -59,8 +59,10 @@ rm -f /usr/lib/libz.a</userinput></screen>
|
|||||||
|
|
||||||
<para>There are also several files installed in the /usr/lib and /usr/libexec
|
<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"
|
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
|
files. As already said, they are only useful when linking with static
|
||||||
at this point. To remove them, run:</para>
|
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>
|
<screen><userinput>find /usr/lib /usr/libexec -name \*.la -delete</userinput></screen>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user