bash static compile

Rich Rudnick nickrud at citlink.net
Mon Oct 16 18:20:44 PDT 2000


On Sun, Oct 15, 2000 at 09:54:10AM -0400, Jesse Tie Ten Quee wrote:
> Yo,
> 
> On Sun, Oct 15, 2000 at 02:12:56PM +0800, Rich Rudnick wrote:
> > /usr/bin/ld: cannot find -lcurses
> > collect2: ld returned 1 exit status
> > make: *** [bash] Error 1
> 
> Considering this is your system your bootstrapping off of, make _sure_
> all development packages are installed for your distro.
> 
> -
> Jesse Tie Ten Quee - highos at highos dot com
> 
Well, I looked over the -devel- packages on my mdk 7.1 install cd, and
it seemed I had them all.  Since I really want to do this, I did a
new install of 7.1, and installed nearly every package. I left out
locales, some obscure graphics stuff, things like that. (Reinstalling
was something I was thinking about anyway).  After getting things back
in working order, I ran the same script again, and, got the same error:

/usr/bin/ld: cannot find -lcurses
collect2: ld returned 1 exit status
make: *** [bash] Error 1
root: /mnt/lfs/usr/src/bash-2.04 $ 

I looked for curses packages:

root: /mnt/lfs/usr/src/bash-2.04 $ rpm -qa | grep curses
ncurses-5.0-13mdk
ncurses-devel-5.0-13mdk

I looked for curses libraries:

root: /mnt/lfs/usr/src/bash-2.04 $ locate curses | grep lib

<snipped perl/python references>

/usr/lib/libncurses.so.5
/usr/lib/libncurses.so.5.0
/usr/lib/libcurses.so
/usr/lib/libncurses++.a
/usr/lib/libncurses.a
/usr/lib/libncurses.so
/usr/lib/libncurses_g.a
/usr/lib/libncurses_p.a
/usr/i586-glibc20-linux/lib/libncurses.so
/usr/i586-glibc20-linux/lib/libncurses.so.4
/usr/i586-glibc20-linux/lib/libncurses.so.4.2
/usr/i486-linux-libc5/lib/libncurses.so.1.9.9e
/usr/i486-linux-libc5/lib/libncurses.so.3.0
/lib/libncurses.so.1
/lib/libncurses.so.1.9.9e
/lib/libncurses.so.3
/lib/libncurses.so.3.0
/lib/libncurses.so.4
/lib/libncurses.so.4.2
/lib/libncurses.so.5
/lib/libncurses.so.5.0
/lib/libncurses.so

any pointers?

-- 
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