Ignore:
Timestamp:
Jan 19, 2014, 6:53:32 PM (9 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.