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

Roy Bekken roy.bekken at gmail.com
Sun Aug 9 07:36:08 PDT 2009


$ echo $PATH
/cross-tools/bin:/bin:/usr/bin


On Sun, Aug 9, 2009 at 3:57 PM, Joe Ciccone <jciccone at gmail.com> wrote:
>
> 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.
> _______________________________________________
> 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