Ignore:
Timestamp:
Jan 19, 2014, 6:55:49 PM (10 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/multilib
Files:
2 edited

Legend:

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