Error compiling Gawk 3.1.1 (cannot find -ldl)

Jens Petter Bratlie jebrat at frisurf.no
Sun Jan 5 12:06:21 PST 2003


I'm getting this error when trying to compile Gawk 3.1.1: 

make 'CFLAGS=-g -O2' 'LDFLAGS=-static' all-recursive
make[1]: Entering directory `/mnt/lfs/static/gawk-3.1.1'
Making all in intl
make[2]: Entering directory `/mnt/lfs/static/gawk-3.1.1/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/lfs/static/gawk-3.1.1/intl'
Making all in .
make[2]: Entering directory `/mnt/lfs/static/gawk-3.1.1'
gcc -s  -g -O2  -static -o gawk  array.o awkgram.o builtin.o dfa.o ext.o field.o gawkmisc.o getopt.o getopt1.o io.o main.o msg.o node.o random.o re.o regex.o replace.o version.o eval.o 
profile.o  -lm  -ldl
/usr/i486-linux/bin/ld: cannot find -ldl
make[2]: *** [gawk] Error 1
..
..


What could cause this? Is the "-ldl" thing some library I am missing? If so, what library
is it and where can I get it?

Thank you.


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



More information about the lfs-support mailing list