diff --git a/chapter05/bash-inst.xml b/chapter05/bash-inst.xml index a436f5831..5380dbb3b 100644 --- a/chapter05/bash-inst.xml +++ b/chapter05/bash-inst.xml @@ -1,6 +1,23 @@ Installation of Bash + +Bash needs a static ncurses library that goes by the name of libcurses.a. Some +distributions provide this file under the name of libncurses.a. If this is the +case of your distribution, run the following two commands to fix the problem: + + + +Note: Normally, the libncurses.a file resides in the /usr/lib directory +but it might reside in /lib (like it does on LFS systems). Check this +first and adjust the path in the following commands accordingly: + + +
+ cd /usr/lib && + ln -s libncurses.a libcurses.a +
+ Install Bash by running the following commands: @@ -15,23 +32,6 @@ Install Bash by running the following commands: ln -s bash sh - -If you get errors when compiling bash that tell about not being able to -find -lcurses, these two commands should be run to create the -missing symlink: - - - -Note: Normally, the libncurses.a file resides in the /usr/lib directory -but it might reside in /lib (like it does on LFS systems). Check this -first and adjust the path in the following commands accordingly: - - -
- cd /usr/lib && - ln -s libncurses.a libcurses.a -
- If the make install phase ends with something along the lines of