Re: making a new kernel
On 26 Feb 2003, Bret Comstock Waldow wrote:
[snip]
> make[1]: Leaving directory `/usr/src/linux-2.4.20/scripts'
> wish -f scripts/kconfig.tk
> make: wish: Command not found
> make: *** [xconfig] Error 127
> ganesha:/usr/src/linux#
>
> "wish"?
It's part of Tk. Install tk8.3 or equivalent.
> make -C scripts/lxdialog all
> make[1]: Entering directory `/usr/src/linux-2.4.20/scripts/lxdialog'
> /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'
I believe I may have stumbled across this before, a long time ago,
but it seemed to go away - not sure whether it's a kernel build
system bug or ld.so problem, or something else again.
Try running ldconfig again. If that fails, try:
(cd /lib && ln -s libncurses.so.5 libncurses.so)
Which is something of a hack, but did make the problem go away for me.
[ I have no such symlink now, and it all seems to work for me - ymmv ]
Reply to: