mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
[Bug 126] add ncurses.so symlink in /usr/lib
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1032 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
7a16076571
commit
d493379124
@ -20,5 +20,10 @@ properly so we do it manaully instead.</para>
|
|||||||
programs try to link using -lcurses instead of -lncurses. This symlink
|
programs try to link using -lcurses instead of -lncurses. This symlink
|
||||||
ensures that they will install correctly.</para>
|
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>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
<userinput>mv *.a /usr/lib &&</userinput>
|
<userinput>mv *.a /usr/lib &&</userinput>
|
||||||
<userinput>chmod 755 *.5.2 &&</userinput>
|
<userinput>chmod 755 *.5.2 &&</userinput>
|
||||||
<userinput>cd /usr/lib &&</userinput>
|
<userinput>cd /usr/lib &&</userinput>
|
||||||
<userinput>ln -sf libncurses.a libcurses.a</userinput></screen></para>
|
<userinput>ln -sf libncurses.a libcurses.a &&</userinput>
|
||||||
|
<userinput>ln -sf ../../lib/libncurses.so</userinput></screen></para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user