aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter06/ncurses-exp.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/chapter06/ncurses-exp.xml b/chapter06/ncurses-exp.xml
index 4a988d279..a539783dc 100644
--- a/chapter06/ncurses-exp.xml
+++ b/chapter06/ncurses-exp.xml
@@ -7,5 +7,18 @@ shared ncurses library files.</para>
<para><userinput>--disable-termcap:</userinput> Disabled the compilation of
termcap fall back support.</para>
+<para><userinput>cd /lib &amp;&amp; mv *.a /usr/lib :</userinput> This
+moves all of the static ncurses library files from /lib to /usr/lib.
+/lib should only contain the shared files which are essential to the
+system when /usr may not be mounted.</para>
+
+<para><userinput>chmod 755 *.5.2:</userinput> Shared libraries should be
+executable. Ncurses install routine doesn't set the permissions
+properly so we do it manaully instead.</para>
+
+<para><userinput>ln -sf libncurses.a libcurses.a:</userinput> Some
+programs try to link using -lcurses instead of -lncurses. This symlink
+ensures that they will install correctly.</para>
+
</sect2>