Updates to findutils, util-linux, and iproute2. More library changes

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4359 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Jim Gifford 2004-12-06 18:24:50 +00:00
parent 016b2bbd5d
commit 7111666451
6 changed files with 37 additions and 6 deletions

View File

@ -20,10 +20,11 @@ of the LFS Book.</para>
<listitem><para>Upgraded to:</para>
<itemizedlist>
<listitem><para>binutils-2.15.94.0.1</para></listitem>
<listitem><para>findutils-4.2.8</para></listitem>
<listitem><para>findutils-4.2.9</para></listitem>
<listitem><para>gcc-3.4.3</para></listitem>
<listitem><para>glibc-20041122</para></listitem>
<listitem><para>perl-5.8.6</para></listitem>
<listitem><para>util-linux-2.12j</para></listitem>
</itemizedlist>
</listitem>
@ -40,10 +41,16 @@ of the LFS Book.</para>
</listitem>
-->
<listitem><para>December 6th, 2004 [jim]: Fixes a few typo's done by me.
Added a patch for IPRoute2 to fix usage with the newer findutils.
Updated Readline and Zlib library location changes.
Bumped findutils to 4.2.9 and util-linux 2.12j.
Used the same methodology used on zlib and readline on shadow.</para></listitem>
<listitem><para>December 4th, 2004 [jeremy]: Added binutils fix_strip patch</para></listitem>
<listitem><para>December 3rd, 2004 [jim]: Changed readline and zlib instructions
to use --libdir for the libraries. Dumped perl to 5.8.6. Corrected wording in
to use --libdir for the libraries. Bumped perl to 5.8.6. Corrected wording in
readline.</para></listitem>
<listitem><para>December 1st, 2004 [jeremy]: Minor entity revisions in the XML

View File

@ -106,6 +106,13 @@ following:</para>
</listitem>
</varlistentry>
<varlistentry>
<term>IPRoute2 Find Update Patch - 1 KB:</term>
<listitem>
<para><ulink url="&patches-root;iproute2-&iproute2-patch-version;-find_update-1.patch"/></para>
</listitem>
</varlistentry>
<varlistentry>
<term>Man 80-Columns Patch - 1 KB:</term>
<listitem>

View File

@ -42,6 +42,12 @@
<screen><userinput>patch -Np1 -i ../iproute2-&iproute2-patch-version;-remove_db-1.patch</userinput></screen>
<para>The patch below fixes the issue with the newer versions of findutils,
the issue will give an error message it options are not in the proper order.
This patch corrects this issue for IPRoute2.</para>
<screen><userinput>patch -Np1 -i ../iproute2-&iproute2-patch-version;-find_update-1.patch</userinput></screen>
<para>Prepare iproute2 for compilation:</para>
<screen> <userinput>./configure </userinput></screen>

View File

@ -53,6 +53,11 @@ sometimes will only show 33 characters on a line and then wrap to the next line.
<screen><userinput>mv /lib/lib{readline,history}.a /usr/lib</userinput></screen>
<para>Now we will remove the old, .so files in /lib and relink them into /usr/lib.</para>
<screen><userinput>rm /lib/lib{readline,history}.so
ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so
ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
</sect2>

View File

@ -31,7 +31,7 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, Sed</seg></seglistitem>
<para>Prepare Shadow for compilation:</para>
<screen><userinput>./configure --libdir=/usr/lib --enable-shared</userinput></screen>
<screen><userinput>./configure --libdir=/lib --enable-shared</userinput></screen>
<para>Compile the package:</para>
@ -64,14 +64,15 @@ sed -i -e 's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \
<screen><userinput>mv /usr/bin/passwd /bin</userinput></screen>
<para>And move Shadow's dynamic libraries to a more appropriate location:</para>
<para>And move Shadow's static library to a more appropriate location:</para>
<screen><userinput>mv /usr/lib/libshadow.so.0* /lib</userinput></screen>
<screen><userinput>mv /lib/libshadow.*a /usr/lib</userinput></screen>
<para>As some packages expect to find the just-moved libraries in
<filename class="directory">/usr/lib</filename>, create the following symlinks:</para>
<screen><userinput>ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>
<screen><userinput>rm /usr/lib/libshadow.so
ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>
<para>The <parameter>-D</parameter> option of the <command>useradd</command> program requires this
directory for it to work properly:</para>

View File

@ -49,6 +49,11 @@ afterwards.</para></note>
<screen><userinput>make install</userinput></screen>
<para>Now we will remove the old, .so files in /lib and relink them into /usr/lib.</para>
<screen><userinput>rm /lib/libz.so
ln -sf ../../lib/libz.so.&zlib-version; /usr/lib/libz.so</userinput></screen>
<para>Now also build the non-shared (static) library:</para>
<screen><userinput>make clean