LFS 2.3.6 - Built

Gerard Beekmans gerard at linuxfromscratch.org
Sun Jul 23 08:28:42 PDT 2000

> BASH-2.04 package
> /usr/bin/ld: cannot find -lcurses
> collect2: ld returned 1 exit status
> TERMCAP_LIB = -lncurses <-- in Makefile
> Changed curses to ncurses -- FIXED

The dynamic bash installation in the book includes:
./configure --prefix=/usr --with-ncurses

Did you pass --with-ncurses and TERMCAP_LIB still contains -lcurses?
Buggy configure script perhaps. We'll either 'sed' Makefile or see if we
can fix the configure.in script (fixing it the proper way)
> ldconfig
> make[1]: ldconfig: Command not found

Ok, can be done.

Gerard Beekmans

-*- If Linux doesn't have the solution, you have the wrong problem -*-
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)

More information about the lfs-dev mailing list