Changeset 5998892 for chapter06/ncurses.xml
- Timestamp:
- 09/29/2005 08:55:40 PM (19 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 2f1cb7d
- Parents:
- 8c68add
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/ncurses.xml
r8c68add r5998892 48 48 <para>Give the Ncurses libraries execute permissions:</para> 49 49 50 <screen><userinput>chmod 755 /usr/lib/*.&ncurses-version;</userinput></screen>50 <screen><userinput>chmod -v 755 /usr/lib/*.&ncurses-version;</userinput></screen> 51 51 52 52 <para>Fix a library that should not be executable:</para> 53 53 54 <screen><userinput>chmod 644 /usr/lib/libncurses++.a</userinput></screen>54 <screen><userinput>chmod -v 644 /usr/lib/libncurses++.a</userinput></screen> 55 55 56 56 <para>Move the libraries to the <filename class="directory">/lib</filename> directory, 57 57 where they are expected to reside:</para> 58 58 59 <screen><userinput>mv /usr/lib/libncurses.so.5* /lib</userinput></screen>59 <screen><userinput>mv -v /usr/lib/libncurses.so.5* /lib</userinput></screen> 60 60 61 61 <para>Because the libraries have been moved, a few symlinks point to 62 62 non-existent files. Recreate those symlinks:</para> 63 63 64 <screen><userinput>ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so65 ln -sf libncurses.so /usr/lib/libcurses.so</userinput></screen>64 <screen><userinput>ln -sfv ../../lib/libncurses.so.5 /usr/lib/libncurses.so 65 ln -sfv libncurses.so /usr/lib/libcurses.so</userinput></screen> 66 66 </sect2> 67 67
Note:
See TracChangeset
for help on using the changeset viewer.