lfs 2.4.3 bash compiling problem

Joe Weidenbach weidenbach at web-weaver.net
Sun Dec 3 14:32:49 PST 2000

On Sunday 03 December 2000 12:56, you wrote:
> hi, here is the error info i got after i executed "make" command.
> gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob
> -L./lib/tilde -L./lib/malloc -L./lib/sh -static -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 braces.o bracecomp.o bashhist.o
> bashline.o siglist.o list.o stringlib.o locale.o findcmd.o redir.o
> pcomplete.o pcomplib.o xmalloc.o -lbuiltins -lreadline -lhistory -ltermcap
> -lglob -ltilde -lmalloc -lsh
> /usr/bin/ld: cannot find -ltermcap
> collect2: ld returned 1 exit status
> make: *** [bash] Error 1

Did you remember to use "--with-ncurses" in the ./configure flags?  That 
should make it look for libcurses (the lib you made the symlink for) instead 
of libtermcap.


Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message

More information about the lfs-dev mailing list