Click to See Complete Forum and Search --> : lfs compiling bash- -lcurses not found?


kuber
06-04-2001, 01:39 AM
I have decided to atttempt to get a linux from scratch installation... I installed a basic slackware installation to do it from-just the A, D, and N packages. When I try to compile bash I get the error that lcurses is not found. What do I need? I tried searching freshmeat for curses, libcurses, lcurses, etc, but found nothing. BTW I have ncurses installed if that has anything to do with it.
Thanks,
Kuber

nopun
06-04-2001, 07:51 AM
Firstly, the configure script needs to be run with the option --with-ncurses.
Secondly, you need to create a symlink libcurses.a to libncurses.a. This you will find either under /lib or /usr/lib. eg:

cd /usr/lib
ln -s libncurses.a libcurses.a

jintxo
06-04-2001, 11:55 AM
the package to compile first in ncurses... if you link it statically you will want a libcurses.a (as mentioned above), if dynamically, you will want a libncurses.so :-)