Re: libcurses/libncurses problem
"Christopher W. Aiken" <cwaiken@telerama.com> writes:
> On 10 Jan 2001, David Z Maze wrote:
>
> ->Christopher W Aiken <cwaiken@telerama.com> writes:
> ->CWA> I had libcurses problems when I tried to compile an application
> ->CWA> (pine 4.31 I think, can't remember). What I had to do was:
> ->CWA>
> ->CWA> cd /lib
> ->CWA> ln -sf libncurses.so.5.0 libncurses
> ->CWA>
> ->CWA> The compile/link was looking for "libncurses" and there was
> ->CWA> none. The symb link created by the above ln command worked.
> ->
> ->Don't do that by hand. Install the appropriate -dev package
> ->(libncurses-dev, probably) instead; it should install the needed
> ->header files, create that symbolic link, and possibly also install a
> ->static library.
> ->
>
> I already have libncurses installed and STILL had to set up the symb link.
>
> # dpkg -l | grep ncurses
> ii libncurses4 4.2-9 Shared libraries for terminal handling
> ii libncurses5 5.0-6.0potato1 Shared libraries for terminal handling
> ii libncurses5-de 5.0-6.0potato1 Developer's libraries and docs for ncurses
> ii ncurses-base 5.0-6.0potato1 Descriptions of common terminal types
> ii ncurses-bin 5.0-6.0potato1 Terminal-related programs and man pages
> ii ncurses-term 5.0-6.0potato1 Additional terminal type definitions
>
> --
> Christopher W. Aiken, Scenery Hill, Pa, USA
Thank you Christopher and David.
I have tried a combination of you suggestions, with no luck.
First, I tried to install libncurses5-Dev, but apt complained as follows:
Sorry, but the following packages have unmet dependencies:
libncurses5-dev: Depends: libncurses5 (= 5.0-6.0potato1) but 5.0-8 is to be
installed
E: Sorry, broken packages
I then created the synb link manually per Christopher's suggestion, and this
had no effect (so I rm'ed the "libncurses" file). Then,
# dpkg -l | grep ncurses
ii libncurses4 4.2-9 Shared libraries for terminal handling
ii libncurses4-de 4.2-9 Developer's libraries and docs for ncurses
ii libncurses5 5.0-8 Shared libraries for terminal handling
ii ncurses-base 5.0-8 Descriptions of common terminal types
ii ncurses-bin 5.0-8 Terminal-related programs and man pages
ii ncurses-term 5.0-8 Additional terminal type definitions
ii ncurses3.4 1.9.9g-8.11 Video terminal manipulation - shared librari
ii typist 2.3.1-1 A simple ncurses typing tutor
Sorry for asking what must be an obvious question, but...Does it appear from
the directory structure included in the original post (included again below for
convenience) that there is something obviously wrong -
/lib/libcurses.so.1.0.0xo?
Thanks for your time and help
--
Giulio Morgan
mickle@panix.com
from /lib
root root 18 Aug 26 1999 libcurses.so.1 -> libcurses.so.1.0.0
root root 52641 May 18 1995 libcurses.so.1.0.0xo
root root 19 Jul 5 2000 libtermcap.so.2 -> libtermcap.so.2.0.8
root root 10500 Feb 3 2000 libtermcap.so.2.0.8
root root 242644 Oct 30 1998 libncurses.so.3.4
root root 238700 Mar 5 2000 libncurses.so.4.2
root root 17 Nov 27 08:26 libncurses.so.5 -> libncurses.so.5.0
-----
from /usr/lib
root root 12 Jul 5 2000 libcurses.a -> libncurses.a
root root 13 Jul 5 2000 libcurses.so -> libncurses.so
root root 20 Nov 25 22:59 libcurses.so.1 -> /lib/libncurses.so.5
root root 372674 Mar 5 2000 libncurses.a
root root 20 Jul 5 2000 libncurses.so -> /lib/libncurses.so.4
perms removed for legibility
Reply to: