aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/ncurses.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml
index a2092bdda..f3befe7d4 100644
--- a/chapter06/ncurses.xml
+++ b/chapter06/ncurses.xml
@@ -128,7 +128,8 @@ ln -sfv libncurses++w.a /usr/lib/libncurses++.a</userinput></screen>
<filename class="libraryfile">-lcurses</filename> at build time are still
buildable:</para>
-<screen><userinput>echo "INPUT(-lncursesw)" &gt;/usr/lib/libcursesw.so
+<screen><userinput>rm -vf /usr/lib/libcursesw.so
+echo "INPUT(-lncursesw)" &gt;/usr/lib/libcursesw.so
ln -sfv libncurses.so /usr/lib/libcurses.so
ln -sfv libncursesw.a /usr/lib/libcursesw.a
ln -sfv libncurses.a /usr/lib/libcurses.a</userinput></screen>