aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-08-25 19:35:12 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-08-25 19:35:12 +0000
commiteba5bc10b853f51a8c5258bf4c71aee3169e4009 (patch)
tree856e2014b1a80612cd8948157286a268a00fcff1
parent58bd3973e36118bd6da705353fca9d1316a5a4e9 (diff)
[Bug 126] linked ALL dynamic libraries
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1035 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter06/ncurses-exp.xml8
-rw-r--r--chapter06/ncurses-inst.xml6
2 files changed, 9 insertions, 5 deletions
diff --git a/chapter06/ncurses-exp.xml b/chapter06/ncurses-exp.xml
index fe4ee321b..e67973053 100644
--- a/chapter06/ncurses-exp.xml
+++ b/chapter06/ncurses-exp.xml
@@ -20,10 +20,10 @@ properly so we do it manaully instead.</para>
programs try to link using -lcurses instead of -lncurses. This symlink
ensures that they will install correctly.</para>
-<para><userinput>ln -sf ../../lib/libncurses.so:</userinput> This link
-is created because if it isn't, the linker will not find the dynamic
-library when linking and so link all programs with the static ncurses
-library.</para>
+<para><userinput>ln -sf ../../lib/libncurses.so etc:</userinput> These
+links are created because if they aren't, the linker will not find the
+dynamic libraries when linking and so link all programs with the static
+versions.</para>
</sect2>
diff --git a/chapter06/ncurses-inst.xml b/chapter06/ncurses-inst.xml
index 2ec5b55f3..fa39b4289 100644
--- a/chapter06/ncurses-inst.xml
+++ b/chapter06/ncurses-inst.xml
@@ -12,6 +12,10 @@
<userinput>chmod 755 *.5.2 &amp;&amp;</userinput>
<userinput>cd /usr/lib &amp;&amp;</userinput>
<userinput>ln -sf libncurses.a libcurses.a &amp;&amp;</userinput>
-<userinput>ln -sf ../../lib/libncurses.so</userinput></screen></para>
+<userinput>ln -sf ../../lib/libncurses.so &amp;&amp;</userinput>
+<userinput>ln -sf ../../lib/libcurses.so &amp;&amp;</userinput>
+<userinput>ln -sf ../../lib/libform.so &amp;&amp;</userinput>
+<userinput>ln -sf ../../lib/libpanel.so &amp;&amp;</userinput>
+<userinput>ln -sf ../../lib/libmenu.so &amp;&amp;</userinput></screen></para>
</sect2>