[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cannot find libncurses

"Reaz Baksh" <baksh5179@rogers.com> writes:

> Hello
> I don't know if this has been asked before, as I searched the list and
> found nothing close to this problem but I'm hoping this is the right
> forum to ask.
> Problem:
> I'm trying to upgrade my Kernel from 4.2.20 to 4.2.22.  I am doing this
> the long way not through Dpkg or apt-get.
> When I type 'make menuconfig' I get the following:
> --------------------------------
> /usr/bin/ld: cannot find -lncurses
> collect2: ld returned 1 exit status
> >> Unable to find the Ncurses libraries.
> >>
> >> You must have Ncurses installed in order
> >> to use 'make menuconfig'
> make[1]: *** [ncurses] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.4.22/scripts/lxdialog'
> make: *** [menuconfig] Error 2
> ----------------------------

Look at the kernel-source-2.4.22 package, concretelly its dependences.
(in dselect, aptitude, apt-cache showpkg, ...)

See that little "Suggests: libncurses-dev"?

That might mean something. e.g.:

$ apt-get install libncurses-dev

Hope this helps,


Please answer to the group/list. Don't CC me.

Reply to: