﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
226	/usr/bin/ld: cannot find -ldl	plsak	clfs-commits@…	"Hi,

during compilation of ncurses (http://cross-lfs.org/view/svn/x86_64-64/cross-tools/ncurses.html) all is going file until ""make -C progs tic"".

After execution of this I get error:
a - ../objects/keyok.o
a - ../objects/version.o
ranlib ../lib/libncurses.a
make[1]: Leaving directory `/mnt/clfs/sources/ncurses-5.7/ncurses'
gcc ../objects/tic.o ../objects/dump_entry.o  -I../progs -I. -DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE -DNDEBUG -I/cross-tools/include/ncurses -O2 --param max-inline-insns-single=1200 -static -L../lib -lncurses -L../lib -lncurses -dynamic  -ldl  -o tic
/usr/bin/ld: cannot find -ldl
collect2: ld returned 1 exit status
make: *** [tic] Error 1
make: Leaving directory `/mnt/clfs/sources/ncurses-5.7/progs'

Pls help as all environment is set exactly as in book, also all commands and patches have been applied.
I have been trying to link the libdl.so or to modify the progs Makefile, but without success (just another errors).

The progs Makefile is attached.

Thx



"	task	closed	major		BOOK		invalid		
