Changeset 5de15f0


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

Use readlink when creating symbolic links to ncurses dynamic libraries of libncurses, libform, libpanel, and libmenu.

Location:
BOOK/final-system
Files:
3 edited

Legend:

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

    r4302a8c r5de15f0  
    5757    <para os="j">Create symlinks in <filename class="directory">/usr/lib:</filename></para>
    5858
    59 <screen os="k"><userinput>rm -v /lib/lib{ncursesw,menuw,panelw,formw}.so
    60 ln -svf ../../lib/libncursesw.so.5 /usr/lib/libncursesw.so
    61 ln -svf ../../lib/libmenuw.so.5 /usr/lib/libmenuw.so
    62 ln -svf ../../lib/libpanelw.so.5 /usr/lib/libpanelw.so
    63 ln -svf ../../lib/libformw.so.5 /usr/lib/libformw.so</userinput></screen>
     59<screen os="k"><userinput>
     60ln -svf ../../lib/$(readlink /lib/libncursesw.so) /usr/lib/libncursesw.so
     61ln -svf ../../lib/$(readlink /lib/libmenuw.so) /usr/lib/libmenuw.so
     62ln -svf ../../lib/$(readlink /lib/libpanelw.so) /usr/lib/libpanelw.so
     63ln -svf ../../lib/$(readlink /lib/libformw.so) /usr/lib/libformw.so
     64rm -v /lib/lib{ncursesw,menuw,panelw,formw}.so
     65</userinput></screen>
    6466
    6567    <para os="l">Now we will make our Ncurses compatible for older and non-widec compatible programs
  • BOOK/final-system/multilib/ncurses-64bit.xml

    r4302a8c r5de15f0  
    7474    <para os="j">Create symlinks in <filename class="directory">/usr/lib64:</filename></para>
    7575
    76 <screen os="k"><userinput>rm -v /lib64/lib{ncursesw,menuw,panelw,formw}.so
    77 ln -svf ../../lib64/libncursesw.so.5 /usr/lib64/libncursesw.so
    78 ln -svf ../../lib64/libmenuw.so.5 /usr/lib64/libmenuw.so
    79 ln -svf ../../lib64/libpanelw.so.5 /usr/lib64/libpanelw.so
    80 ln -svf ../../lib64/libformw.so.5 /usr/lib64/libformw.so</userinput></screen>
     76<screen os="k"><userinput>
     77ln -svf ../../lib64/$(readlink /lib64/libncursesw.so) /usr/lib64/libncursesw.so
     78ln -svf ../../lib64/$(readlink /lib64/libmenuw.so) /usr/lib64/libmenuw.so
     79ln -svf ../../lib64/$(readlink /lib64/libpanelw.so) /usr/lib64/libpanelw.so
     80ln -svf ../../lib64/$(readlink /lib64/libformw.so) /usr/lib64/libformw.so
     81rm -v /lib64/lib{ncursesw,menuw,panelw,formw}.so
     82</userinput></screen>
    8183
    8284    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/final-system/multilib/ncurses-n32.xml

    r4302a8c r5de15f0  
    7474    <para os="j">Create symlinks in <filename class="directory">/usr/lib32:</filename></para>
    7575
    76 <screen os="k"><userinput>rm -v /lib32/lib{ncursesw,menuw,panelw,formw}.so
    77 ln -svf ../../lib32/libncursesw.so.5 /usr/lib32/libncursesw.so
    78 ln -svf ../../lib32/libmenuw.so.5 /usr/lib32/libmenuw.so
    79 ln -svf ../../lib32/libpanelw.so.5 /usr/lib32/libpanelw.so
    80 ln -svf ../../lib32/libformw.so.5 /usr/lib32/libformw.so</userinput></screen>
     76<screen os="k"><userinput>
     77ln -svf ../../lib32/$(readlink /lib32/libncursesw.so) /usr/lib32/libncursesw.so
     78ln -svf ../../lib32/$(readlink /lib32/libmenuw.so) /usr/lib32/libmenuw.so
     79ln -svf ../../lib32/$(readlink /lib32/libpanelw.so) /usr/lib32/libpanelw.so
     80ln -svf ../../lib32/$(readlink /lib32/libformw.so) /usr/lib32/libformw.so
     81rm -v /lib32/lib{ncursesw,menuw,panelw,formw}.so
     82</userinput></screen>
    8183
    8284    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note: See TracChangeset for help on using the changeset viewer.