Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2007 09:46:22 +0100
From:      Kirill Ponomarew <krion@voodoo.bawue.com>
To:        Rong-En Fan <rafan@FreeBSD.org>
Cc:        ports@FreeBSD.org, Xin LI <delphij@FreeBSD.org>, Thomas Dickey <dickey@radix.net>, Joshua Tinnin <krinklyfig@speakeasy.net>
Subject:   Re: Python 2.4.4 and devel/ncurses
Message-ID:  <20070227084622.GA91640@voodoo.bawue.com>
In-Reply-To: <20070227075857.GI65901@svm.csie.ntu.edu.tw>
References:  <20070214143011.GA76316@svm.csie.ntu.edu.tw> <20070214150912.GB14230@saltmine.radix.net> <20070214153011.GN88028@svm.csie.ntu.edu.tw> <20070214153827.GA336@saltmine.radix.net> <20070226200748.GA28218@smogmonster.local> <20070226204411.GA61663@voodoo.bawue.com> <20070226211904.GA27718@saltmine.radix.net> <20070227075857.GI65901@svm.csie.ntu.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 27, 2007 at 03:58:57PM +0800, Rong-En Fan wrote:
> On Mon, Feb 26, 2007 at 04:19:04PM -0500, Thomas Dickey wrote:
> > On Mon, Feb 26, 2007 at 09:44:11PM +0100, Kirill Ponomarew wrote:
> > > On Mon, Feb 26, 2007 at 01:07:48PM -0700, Joshua Tinnin wrote:
> > > > > > It seems to me that rpath works as expected but /lib/libncurses.so.6 is
> > > > > > loaded first...
> > > > > 
> > > > > There was some discussion about a year ago, which pointed out a problem.
> > > > > The readline package loads termcap, which could be provided by ncurses.
> > > > > You might be hitting that problem (readline, or another package).
> > > > > The fix would be to ensure that "termcap" loads the same library as
> > > > > "curses".
> > > > 
> > > > Is there anything that can be done about this in the meantime? I have
> > > > two 6.2-R i386 machines which are encountering this problem.
> > > 
> > > BTW, it fails also on AMD64 CURRENT from yesterday with:
> > 
> > yes - someone has to provide a patch to make the python and ncurses
> > ports either work together, or ignore each other.  The top-level
> > setup.py appears to have all (or most) of the related information:  it
> > sets up a search list of library directories, walks through them to find
> > the given libraries.
> > 
> > I'm not sure how (reading the earlier email) python decides to get
> > libtinfo, though, since that string doesn't appear in the original
> > python sources.
> 
> Hmm... there must be something wrong  in devel/ncurses
> 
> /usr/local/lib/libncurses.so:
>         libtinfo.so.5.6 => /usr/local/lib/libtinfo.so.5.6 (0x800958000)
> 
> But on a current box which has ncurses 5.6 in base. libncurses.so
> does not depend on tinfo.
> 
> I will look into it.

It fails also with base ncurses on AMD64 current.

-Kirill



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070227084622.GA91640>