Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] The quest for ncurses understanding...


Folks.

After banging my head against a brick wall trying to get a kernel compile
done on this damn machine {documented in please for help previously}, I've
started a little digging into the ncurses library which seems to be
causing the problem.

It seems I have two versions installed on my machine - one in /lib and one
in /usr/lib as follows.

fred:/lib # ls -l libncur*
lrwxrwxrwx    1 root     root           17 Feb 27  2002 libncurses.so.4 ->
libncurses.so.4.2
-rwxr-xr-x    1 root     root       299565 May 12  2001 libncurses.so.4.2
lrwxrwxrwx    1 root     root           17 Feb 27  2002 libncurses.so.5 ->
libncurses.so.5.2
-rwxr-xr-x    1 root     root       319472 May 12  2001 libncurses.so.5.2
fred:/lib #

fred:/usr/lib # ls -l libncur*
-rwxr-xr-x    1 root     root       575208 Oct 25 11:14 libncurses++.a
-rw-r--r--    1 root     root      3951350 Oct 25 11:14 libncurses.a
lrwxrwxrwx    1 root     root           22 Feb 26 16:38 libncurses.so ->
/lib/libncurses.so.5.2
lrwxrwxrwx    1 root     root           20 Aug 19  2001 libncurses.so.1.9
-> libncurses.so.1.9.7a
-rwxr-xr-x    1 root     root       229580 May 12  2001
libncurses.so.1.9.7a
lrwxrwxrwx    1 root     root           20 Aug 19  2001 libncurses.so.2.1
-> libncurses.so.1.9.7a


As you can see, I've got version 4.2 & 5.2 in /lib, and version 1.9.7a in
/usr/lib.

Now the ncurses source archive attempts, by default, to install in
/usr/lib - my question to you learned gentlemen and ladies - could the
current version of the kernel source tree be looking here first, and hence
causing my problems?

Or am I barking up the wrong tree, and having two different versions of
libncurses is perfectly acceptable?

Thanks for any wisdom.

DaZZa