From eba5bc10b853f51a8c5258bf4c71aee3169e4009 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Sat, 25 Aug 2001 19:35:12 +0000 Subject: [Bug 126] linked ALL dynamic libraries git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1035 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/ncurses-exp.xml | 8 ++++---- chapter06/ncurses-inst.xml | 6 +++++- 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. programs try to link using -lcurses instead of -lncurses. This symlink ensures that they will install correctly. -ln -sf ../../lib/libncurses.so: 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. +ln -sf ../../lib/libncurses.so etc: 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. 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 @@ chmod 755 *.5.2 && cd /usr/lib && ln -sf libncurses.a libcurses.a && -ln -sf ../../lib/libncurses.so +ln -sf ../../lib/libncurses.so && +ln -sf ../../lib/libcurses.so && +ln -sf ../../lib/libform.so && +ln -sf ../../lib/libpanel.so && +ln -sf ../../lib/libmenu.so && -- cgit v1.2.3-54-g00ecf