Re: libcurses/libncurses problem (fwd)
Looks like you have something screwed up. I would try to
remove libncurses4-dev and install libncurses5-dev.
BTW... I'm using Debian 2.2_r2 that is why the "potato1" shows
up in my "dpkg -l" listing below.
Here is my /lib (I removed owner/group):
(The first symb link is the one I had to add.)
# ls -l /lib|grep curse
lrwxrwxrwx 1 17 Jan 2 20:59 libncurses.so -> libncurses.so.5.0
lrwxrwxrwx 1 17 Jan 2 20:05 libncurses.so.4 -> libncurses.so.4.2
-rw-r--r-- 1 238700 Mar 5 2000 libncurses.so.4.2
lrwxrwxrwx 1 17 Jan 2 20:04 libncurses.so.5 -> libncurses.so.5.0
-rw-r--r-- 1 233816 Nov 21 22:55 libncurses.so.5.0
Here is my /usr/lib (I removed owner/group):
# ls -l /usr/lib|grep curse
lrwxrwxrwx 1 12 Jan 2 20:33 libcurses.a -> libncurses.a
lrwxrwxrwx 1 13 Jan 2 20:33 libcurses.so -> libncurses.so
-rw-r--r-- 1 235558 Nov 21 22:55 libncurses++.a
-rw-r--r-- 1 381726 Nov 21 22:55 libncurses.a
lrwxrwxrwx 1 20 Jan 2 20:33 libncurses.so -> /lib/libncurses.so.5
lrwxrwxrwx 1 12 Jan 2 20:33 libtermcap.a -> libncurses.a
lrwxrwxrwx 1 13 Jan 2 20:33 libtermcap.so -> libncurses.so
--
Christopher W. Aiken, Scenery Hill, Pa, USA
chris at cwaiken dot com, www.cwaiken.com
Current O/S: Debian GNU/Linux 2.2_r2
On 10 Jan 2001, Giulio Morgan wrote:
->"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: