[Clfs-support] Cross-Compile Tools – ncurses cannot find -ldl
Reimundo Heluani
rheluani at gmail.com
Sun Aug 9 09:28:04 PDT 2009
On Sun, 2009-08-09 at 10:53 +0200, 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
Are those -L flags alright?
R.
>
> /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?
>
>
>
> _______________________________________________
> Clfs-support mailing list
> Clfs-support at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
More information about the Clfs-support
mailing list