aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/ncurses.xml
diff options
context:
space:
mode:
authorKrejzi <krejzi@linuxfromscratch.org>2013-12-21 11:53:07 +0000
committerKrejzi <krejzi@linuxfromscratch.org>2013-12-21 11:53:07 +0000
commit112db9db28f565168992a35d6ca61c4ebb07d912 (patch)
treea44be932828f84567d7b6849a237c178ab11dde5 /chapter06/ncurses.xml
parentb1a51ac18a0ba70461444d4780d9fcdee3b5ce6d (diff)
merge lfs-svn, pt 1
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10402 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/ncurses.xml')
-rw-r--r--chapter06/ncurses.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml
index 6f9cc3792..df362d4bd 100644
--- a/chapter06/ncurses.xml
+++ b/chapter06/ncurses.xml
@@ -110,7 +110,7 @@
<para>Because the libraries have been moved, one symlink points to
a non-existent file. Recreate it:</para>
-<screen><userinput remap="install">ln -sfv ../../lib/libncursesw.so.5 /usr/lib/libncursesw.so</userinput></screen>
+<screen><userinput remap="install">ln -sfv ../../lib/$(readlink /usr/lib/libncursesw.so) /usr/lib/libncursesw.so</userinput></screen>
<para>Many applications still expect the linker to be able to find
non-wide-character Ncurses libraries. Trick such applications into linking with