aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/ncurses-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-09-14 04:18:47 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-09-14 04:18:47 +0000
commit8d8ab633a0bf92e5f9f95518616120b4d82a5d5a (patch)
treea34099680e8806298b24d79036f1a8d8ab089899 /chapter06/ncurses-inst.xml
parent06cf96a326e9f17b553d505e58756fe0472a6159 (diff)
Fixed the 'superfluous *.so symlinks' again.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2111 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/ncurses-inst.xml')
-rw-r--r--chapter06/ncurses-inst.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/chapter06/ncurses-inst.xml b/chapter06/ncurses-inst.xml
index 7ed092d36..d4a17128c 100644
--- a/chapter06/ncurses-inst.xml
+++ b/chapter06/ncurses-inst.xml
@@ -8,11 +8,13 @@ commands.</para>
<para>Install Ncurses by running the following commands:</para>
<para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-patch-version;.patch &amp;&amp;
-./configure --prefix=/usr --libdir=/lib --with-shared &amp;&amp;
+./configure --prefix=/usr --with-shared &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
-mv /lib/*.a /usr/lib &amp;&amp;
-chmod 755 /lib/*.5.2 &amp;&amp;
-ln -s libncurses.a /usr/lib/libcurses.a</userinput></screen></para>
+chmod 755 /usr/lib/*.5.2 &amp;&amp;
+mv /usr/lib/libncurses.so.5* /lib &amp;&amp;
+ln -s libncurses.a /usr/lib/libcurses.a &amp;&amp;
+ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so &amp;&amp;
+ln -sf ../../lib/libncurses.so.5 /usr/lib/libcurses.so</userinput></screen></para>
</sect2>