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.

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