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

Joe Ciccone jciccone at gmail.com
Sun Aug 9 06:57:57 PDT 2009


Roy Bekken wrote:
>
> 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?
>
>From inside of your build environment, what is your $PATH set to.



More information about the Clfs-support mailing list