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

Re: make menuconfig fails



Bob Proulx wrote:
Russell Shaw wrote:

In the kernel source, when i do "make menuconfig" i get the error:


Common problem.  But most people just have not installed it yet.  You
look to have a corrupted library or something.

Thanks. It must have got uninstalled when i was fixing broken package problems.

/usr/bin/ld: cannot find -lncurses


Check that you have the following on your system.

  apt-get install libncurses5-dev

  /usr/include/curses.h
  /usr/lib/libncurses.a
  /usr/lib/libncurses.so


I think i *have* got ncurses installed, because midnight commander runs, and
sudo ldconfig -p:


Note that you do not need sudo for 'ldconfig -p'.  It is a read-only
command.

ldconfig updates /etc/ld.so.cache, so sudo is needed:

russell@main~: ldconfig -p
bash: ldconfig: command not found

russell@main~: sudo ldconfig -p
Password:
362 libs found in cache `/etc/ld.so.cache'
        libzvt.so.2 (libc6) => /usr/lib/libzvt.so.2
        libz.so.1 (libc6) => /usr/lib/libz.so.1
        ...



Reply to: