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

Joe Ciccone jciccone at gmail.com
Sun Aug 9 07:37:31 PDT 2009


Roy Bekken wrote:
> $ 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?
>>>
>>>       
Next step, check if libdl.so exists on your host system.




More information about the Clfs-support mailing list