chapter 5 - bash won't build
I promised myself I would build an LFS system eventually, so here I am...
I am building on Slackware 8.1, with EVERY package installed. This is LFS version 4.0.
I'm on chapter 5, the first compile, bash! The error:
gcc -s -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde -L./lib/malloc -L./lib/sh -static -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 arrayfunc.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 -lsh -lreadline -lhistory -lcurses -lglob -ltilde -lmalloc
/usr/i386-slackware-linux/bin/ld: cannot find -lcurses
collect2: ld returned 1 exit status
make: *** [bash] Error 1
lfs@proxima:/lfs/static/bash-2.05a$
I checked out /usr/i386-slackware-linux/bin/ld and it is a link to /usr/bin/ld. I checked that file also, and it seems to be intact.
It looks to me as this is the final command where all the object code is linked together. I checked the output and there weren't any errors beforehand so this is the only problem.
Hint?
|