[Clfs-support] Cross-Compile Tools – ncurses cannot find -ldl

Roy Bekken roy.bekken at gmail.com
Sun Aug 9 01:53:46 PDT 2009


Hi

ncurses in chapter 5 fails on “make -C progs tic”


 make[1]: Leaving directory `/mnt/clfs/tools/build/ncurses-5.7/ncurses'

gcc ../objects/tic.o ../objects/dump_entry.o -s -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/tools/build/ncurses-5.7/progs'


 I'm building on Fedora 11 x86_64

The book is from commit e47a554. Do anyone else experience this or have a
solution?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20090809/a04c0242/attachment.html>


More information about the Clfs-support mailing list