error compiling bash-2.04

Gerard Beekmans gerard at linuxfromscratch.org
Mon Oct 30 09:47:38 PST 2000



> Hey, I'm new here on the list. Think it is a cool project. Hope to 
> contribute, blah, blah, blah . . .
> 
> I got pretty far with LFS this past summer before getting side-tracked with 
> more pressing tasks. This time I am not doing so well . . .
> 
> I have a fresh install of RedHat 6.2 (no patches applied) as a base for 
> this roll-yer-own thing on my development box. What I am getting is:
> 
> /usr/bin/ld: cannot find -lcurses
> collect2: ld returned 1 exit status
> make: *** [bash] Error 1
> 
> In the archive for this list I found an e-mail (Thu Oct 26 2000 - 11:55) 
> from Seth Payne dealing with this very issue.  I tried the "--with-ncurses" 
> but that led to more problems.
> 
> Gerard Beekmans' reply was to install the static C library files. Looking 
> in the /tmp/install.log I see:

Actually that was a reply to a different email where somebody's ld
couldn't find libc.a

In your case you have to do:
cd /usr/lib && ln -s libncurses.a libcurses.a

Compile bash now, should work


-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list