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: Thomas Dickey
Subject: Re: xterm fails to link against local ncurses
Date: Thu, 25 Nov 2010 12:43:42 -0500 (EST)

On Thu, 25 Nov 2010, Christian Ebert wrote:

* Thomas Dickey on Thursday, November 25, 2010 at 12:18:46 -0500
On Thu, 25 Nov 2010, Christian Ebert wrote:
* Thomas Dickey on Thursday, November 25, 2010 at 11:46:46 -0500
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)

hmm (looking at the special options used in ncurses for darwin) perhaps

LDFLAGS=-Wl,-search_paths_first

would help - see for example

http://www.mail-archive.com/address@hidden/msg18032.html

nope. Hm.

What does the link command for xterm look like?  It's more likely on
that end, than in ncurses.

xterm has an additional complication, using plink.sh to filter out
unnecessary libraries.  I made that feature optional in another
configure script (though I'm thinking the problem is more along the
lines of not giving the right type of -L or rpath option).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



reply via email to

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