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.

File:
1 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>
Note: See TracChangeset for help on using the changeset viewer.