bug-ncurses
[Top][All Lists]
Advanced

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

Re: xterm fails to link against local ncurses


From: Christian Ebert
Subject: Re: xterm fails to link against local ncurses
Date: Thu, 25 Nov 2010 18:13:36 +0100
User-agent: Mutt/1.5.21+17,mq+1 (c9fd966110ba) (2010-09-15)

* Thomas Dickey on Thursday, November 25, 2010 at 11:46:46 -0500
> On Thu, 25 Nov 2010, Christian Ebert wrote:
>> I'm running the most recent ncurses(w). I am building xterm
>> (267), but do not succeed in linking it against ncurses under
>> /usr/local. It always links against ncurses under /sw.
>> 
>> There are 3 ncurses on my machine (MacOS 10.5.8):
>> 
>> /usr - Apple shipped
>> /sw  - mandatory package for Fink distribution
>> /usr/local
> 
> I'm assuming you tried LDFLAGS=-L/usr/local/lib

Yes. All kinds of combinations. For CFLAGS as well.

configure even spits out:

checking for private terminfo-directory... /usr/local/share/terminfo

> perhaps this configure option would help (in configuring xterm):
> 
>  --disable-rpath-hack    don't add rpath options for additional libraries

no joy, unfortunately.

> (for one set of users or another, I've added in the configure scripts
> checks to try to find where a library is, and use it at runtime -
> occasionally that choice isn't what people want)

I always get:

$ otool -L `which xterm` | grep ncurses
        /sw/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0, 
current version 5.0.0)

For comparison:

$ otool -L `which mutt` | grep ncurses
        /usr/local/lib/libncursesw.5.dylib (compatibility version 5.0.0, 
current version 5.0.0)


Thank you for looking into this.

c
-- 
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions



reply via email to

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