[Top][All Lists]

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

Re: Problem installing ncurses 5.4

From: Pierre
Subject: Re: Problem installing ncurses 5.4
Date: Mon, 29 Nov 2004 22:34:56 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

Thomas Dickey wrote:
On Mon, 29 Nov 2004, Pierre wrote:

Thomas Dickey wrote:

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:


Me neither... but maybe do you have an idea for the TABSIZE symbol ?

Yes - the message seems to indicate that /usr/local/bin/sed is linked with ncurses (why I don't know since "sed" should live in /usr/bin and not have a dependency upon ncurses). You've replaced the libncurses symbolic link so it points to the library as compiled by libtool.

Ok I will investigate to see why is sed linked to ncurses, but it's not the cause of the problem, with the previous libncurses sed was working well. The problem is the relocation error, and any program linked to ncurses have this problem.

Checking - rerunning that build, I see that the problem is (something I have recently on my to-do list to review) that the ncurses library is configured to split-out the terminfo stuff as a separate library. That means that applications linked with -lncurses won't handle the combined -lncurses -ltinfo which is needed in your configuration. In the options list, that's done by the --with-termlib option.

Ok I tried to configure without this option, and I don't have this error anymore.


reply via email to

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