diff --git a/chapter06/bc.xml b/chapter06/bc.xml index 3c585547e..2b168fbc0 100644 --- a/chapter06/bc.xml +++ b/chapter06/bc.xml @@ -56,13 +56,19 @@ sed -e '$ s/$/0}/' \ -i libmath.h EOF - Create a temporary symbolic link so the package can find + Create temporary symbolic links so the package can find the readline library and confirm that its required libncurses library is available. Even though the libraries are in /tools/lib at this point, the system will use /usr/lib at the end of this chapter. -ln -sv /tools/lib/libncursesw.so /usr/lib/libncurses.so +ln -sv /tools/lib/libncursesw.so.6 /usr/lib/libncursesw.so.6 +ln -sfv libncurses.so.6 /usr/lib/libncurses.so + + Fix an issue in configure due to missing + files in the early stages of LFS: + +sed -i -e '/flex/s/as_fn_error/: ;; # &/' configure Prepare Bc for compilation: