[lfs-dev] Chapter 5 bash doesn't link to previously installed ncurses libraries

Armin K. krejzi at email.com
Tue May 6 12:36:59 PDT 2014


It seems to use bundled termcap lib

gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob
-L./lib/tilde  -L./lib/sh -L./lib/termcap -L./lib/termcap  -rdynamic  -g
-O2 -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o
dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o
flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o
unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o
arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o  list.o
stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o
xmalloc.o  -lbuiltins -lglob -lsh -lreadline -lhistory
./lib/termcap/libtermcap.a -ltilde     -ldl

Note the "./lib/termcap/libtermcap.a"

configure has this:

checking for tgetent in -ltermcap... no
checking for tgetent in -ltinfo... no
checking for tgetent in -lcurses... no
checking for tgetent in -lncurses... no

Culprit for this one is that ncurses now installs widec libs whereas it
didn't install them in LFS-7.4, but the non-widec ones. Compat symlinks
and dummy libs creation for chapter 5 ncurses is necessary like in
chapter 6.

-- 
Note: My last name is not Krejzi.


More information about the lfs-dev mailing list