mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 07:17:15 +08:00
Change instructions for removing .la files, since openldap needs to
keep them in /usr/lib/openldap. Also some cosmetics on xml... git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19934 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
c92ba3b042
commit
aade25df46
@ -405,36 +405,51 @@ chmod 755 blfs-yes-test2</userinput></screen>
|
||||
<sect2 id="stripping">
|
||||
<title>Stripping One More Time</title>
|
||||
|
||||
<para>In LFS, stripping of debugging symbols was discussed a couple of
|
||||
times. When building BLFS packages, there are generally no special
|
||||
instructions that discuss stripping again. It is probably not a good
|
||||
idea to strip an executable or a library while it is in use, so exiting
|
||||
any windowing environment is a good idea. Then you can do:</para>
|
||||
<para>
|
||||
In LFS, stripping of debugging symbols was discussed a couple of
|
||||
times. When building BLFS packages, there are generally no special
|
||||
instructions that discuss stripping again. It is probably not a good
|
||||
idea to strip an executable or a library while it is in use, so exiting
|
||||
any windowing environment is a good idea. Then you can do:
|
||||
</para>
|
||||
|
||||
<screen><userinput>find /{,usr/}{bin,lib,sbin} -type f -exec strip --strip-unneeded {} \;</userinput></screen>
|
||||
<screen><userinput>find /{,usr/}{bin,lib,sbin} -type f -exec strip --strip-unneeded {} \;</userinput></screen>
|
||||
|
||||
<para>If you install programs in other directories such as /opt or /usr/local,
|
||||
you may want to strip the files there too.</para>
|
||||
<para>
|
||||
If you install programs in other directories such as <filename
|
||||
class="directory">/opt</filename> or <filename
|
||||
class="directory">/usr/local</filename>, you may want to strip the files
|
||||
there too.
|
||||
</para>
|
||||
|
||||
<para>For more information on stripping, see <ulink
|
||||
url="http://www.technovelty.org/linux/stripping-shared-libraries.html"/>.</para>
|
||||
<para>
|
||||
For more information on stripping, see <ulink
|
||||
url="http://www.technovelty.org/linux/stripping-shared-libraries.html"/>.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 id="libtool">
|
||||
<title>Libtool files</title>
|
||||
|
||||
<para>One of the side effects of packages that use Autotools, including
|
||||
libtool, is that they create many files with an .la extension. These
|
||||
files are not needed in an LFS environment. If there are conflicts with
|
||||
pkgconfig entries, they can actually prevent successful builds. You
|
||||
may want to consider removing these files periodically:</para>
|
||||
<para>
|
||||
One of the side effects of packages that use Autotools, including
|
||||
libtool, is that they create many files with an .la extension. These
|
||||
files are not needed in an LFS environment. If there are conflicts with
|
||||
pkgconfig entries, they can actually prevent successful builds. You
|
||||
may want to consider removing these files periodically:
|
||||
</para>
|
||||
|
||||
<screen><userinput>find /lib /usr/lib -not -path "*Image*" -a -name \*.la -delete</userinput></screen>
|
||||
<screen><userinput>find /lib /usr/lib -not -path "*Image*" \
|
||||
-a -not -path "*openldap*" \
|
||||
-a -name \*.la -delete</userinput></screen>
|
||||
|
||||
<para>The above command removes all .la files with the exception of those that have
|
||||
"Image" as a part of the path. These .la files are used by the
|
||||
ImageMagick programs. There may be other exceptions by packages not in BLFS.</para>
|
||||
<para>
|
||||
The above command removes all .la files with the exception of those that
|
||||
have <quote>Image</quote> or <quote>openldap</quote> as a part of the
|
||||
path. These .la files are used by the ImageMagick and openldap programs,
|
||||
respectively. There may be other exceptions by packages not in BLFS.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -44,6 +44,10 @@
|
||||
<listitem>
|
||||
<para>March 10th, 2018</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[pierre] - Change instructions for removing .la files, since
|
||||
openldap requires them, too.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[thomas] - Update to libuv-1.19.2. Fixes
|
||||
<ulink url="&blfs-ticket-root;10409">#10409</ulink>.</para>
|
||||
|
Loading…
Reference in New Issue
Block a user