Changeset 78dd6d6


Ignore:
Timestamp:
Jan 19, 2014, 6:53:32 PM (11 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
4302a8c
Parents:
28b9847
Message:

Use readlink when creating symbolic links for the dynamic libraries and remove the need for readlin-version2 entity.

Location:
BOOK/final-system
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/readline.xml

    r28b9847 r78dd6d6  
    5353<screen os="k"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
    5454
    55     <para os="l">Next, remove the <filename class="extension">.so</filename>
    56     files in <filename class="directory">/lib</filename> and relink them into
    57     <filename class="directory">/usr/lib</filename>.</para>
     55    <para os="l">Next, relink the dynamic libraries into <filename class="directory">/usr/lib</filename> and remove the <filename class="extension">.so</filename> files in <filename class="directory">/lib</filename>.</para>
    5856
    59 <screen os="m"><userinput>rm -v /lib/lib{readline,history}.so
    60 ln -svf ../../lib/libreadline.so.&readline-version2; /usr/lib/libreadline.so
    61 ln -svf ../../lib/libhistory.so.&readline-version2; /usr/lib/libhistory.so</userinput></screen>
     57<screen os="m"><userinput>
     58ln -svf ../../lib/$(readlink /lib/libreadline.so) /usr/lib/libreadline.so
     59ln -svf ../../lib/$(readlink /lib/libhistory.so) /usr/lib/libhistory.so
     60rm -v /lib/lib{readline,history}.so</userinput></screen>
    6261
    6362  </sect2>
  • BOOK/final-system/multilib/readline-64bit.xml

    r28b9847 r78dd6d6  
    7171<screen os="k"><userinput>mv -v /lib64/lib{readline,history}.a /usr/lib64</userinput></screen>
    7272
    73     <para os="l">Next, remove the <filename class="extension">.so</filename>
    74     files in <filename class="directory">/lib64</filename> and relink them into
    75     <filename class="directory">/usr/lib64</filename>.</para>
     73    <para os="l">Next, relink the dynamic libraries into <filename class="directory">/usr/lib64</filename> and remove the <filename class="extension">.so</filename> files in <filename class="directory">/lib64</filename>.</para>
    7674
    77 <screen os="m"><userinput>rm -v /lib64/lib{readline,history}.so
    78 ln -svf ../../lib64/libreadline.so.&readline-version2; /usr/lib64/libreadline.so
    79 ln -svf ../../lib64/libhistory.so.&readline-version2; /usr/lib64/libhistory.so</userinput></screen>
     75<screen os="m"><userinput>
     76ln -svf ../../lib64/$(readlink /lib64/libreadline.so) /usr/lib64/libreadline.so
     77ln -svf ../../lib64/$(readlink /lib64/libhistory.so) /usr/lib64/libhistory.so
     78rm -v /lib64/lib{readline,history}.so</userinput></screen>
    8079
    8180  </sect2>
  • BOOK/final-system/multilib/readline-n32.xml

    r28b9847 r78dd6d6  
    7272<screen os="k"><userinput>mv -v /lib32/lib{readline,history}.a /usr/lib32</userinput></screen>
    7373
    74     <para os="l">Next, remove the <filename class="extension">.so</filename>
    75     files in <filename class="directory">/lib32</filename> and relink them into
    76     <filename class="directory">/usr/lib32</filename>.</para>
     74    <para os="l">Next, relink the dynamic libraries into <filename class="directory">/usr/lib32</filename> and remove the <filename class="extension">.so</filename> files in <filename class="directory">/lib32</filename>.</para>
    7775
    78 <screen os="m"><userinput>rm -v /lib32/lib{readline,history}.so
    79 ln -svf ../../lib32/libreadline.so.&readline-version2; /usr/lib32/libreadline.so
    80 ln -svf ../../lib32/libhistory.so.&readline-version2; /usr/lib32/libhistory.so</userinput></screen>
     76<screen os="m"><userinput>
     77ln -svf ../../lib32/$(readlink /lib32/libreadline.so) /usr/lib32/libreadline.so
     78ln -svf ../../lib32/$(readlink /lib32/libhistory.so) /usr/lib32/libhistory.so
     79rm -v /lib32/lib{readline,history}.so</userinput></screen>
    8180
    8281  </sect2>
Note: See TracChangeset for help on using the changeset viewer.