[Top][All Lists]

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

Re: Problem installing ncurses 5.4

From: Thomas Dickey
Subject: Re: Problem installing ncurses 5.4
Date: Sat, 27 Nov 2004 15:47:10 -0500
User-agent: Mutt/1.5.6+20040722i

On Fri, Nov 26, 2004 at 08:09:45AM +0100, Pierre wrote:
> Thomas Dickey wrote:
> >On Wed, 24 Nov 2004, Pierre wrote:
> >
> >>[...]
> >>installing ../lib/libncurses.la as /usr/lib/libncurses.la
> >>cd ../lib; /usr/local/bin/libtool --mode=install 
> >>/usr/local/bin/install -c libncurses.la /usr/lib
> >>/usr/local/bin/install -c .libs/libncurses.so.5.0.4 
> >>/usr/lib/libncurses.so.5.0.4
> >>(cd /usr/lib && rm -f libncurses.so.5 && ln -s libncurses.so.5.0.4 
> >>libncurses.so.5)
> >>(cd /usr/lib && rm -f libncurses.so && ln -s libncurses.so.5.0.4 
> >>libncurses.so)
> >>/usr/local/bin/sed: relocation error: /usr/lib/libncurses.so.5: 

It occurs to me that installing a libtool'd ncurses on top of a non-libtool'd
ncurses is not simple.  (The configure script and makefiles only know about
installing onto a similar system).

For instance, on this system, it would try to add these entries to /usr/lib:

        libncurses.so -> libncurses.so.5.0.4
        libncurses.so.5 -> libncurses.so.5.0.4  

But I already have

        libncurses.so -> /lib/libncurses.so.5
        libncurses.so.5 -> libncurses.so

and in /lib

        libncurses.so.5 -> libncurses.so.5.4

Technically that's in the realm of libtool, and as you see, it doesn't
manage it either.  I do fixups manually, from my directory editor, but
noting that various programs such as your shell are dependent upon ncurses,
it's a little tricky to do.  (Why does sed use ncurses?)

> >>undefined symbol: TABSIZE
> >>/usr/local/bin/install -c .libs/i /usr/lib/
> >>/usr/local/bin/install: cannot stat `.libs/i': No such file or directory
> >>make[1]: *** [install] Error 1
> >>make[1]: Leaving directory `/tmp/ncurses-5.4/ncurses'
> >>make: *** [install] Error 2
> >
> >
> >hmm - other than seeing that it's attempting to use libtool, I can't tell
> >much about it.  (The ".libs/i" is definitely an error, but whether libtool
> >or some other cause, I cannot say).  Perhaps seeing the config.status and
> >config.log would help.
> Ok I'm attaching them to this email.

I still don't see a cause for the ".libs/i".

Thomas E. Dickey <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]