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 16:12:50 -0500 (EST)

On Thu, 25 Nov 2010, Christian Ebert wrote:

* Christian Ebert on Thursday, November 25, 2010 at 19:47:33 +0100
* Thomas Dickey on Thursday, November 25, 2010 at 12:43:42 -0500
On Thu, 25 Nov 2010, Christian Ebert wrote:
* Thomas Dickey on Thursday, November 25, 2010 at 12:18:46 -0500
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.

Sorry to be a noob; what exactly do you mean by "link command"?

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).

Could it be that because freetype is under /sw it gets the upper
hand?

When I --disable-freetype it is linked to:

/usr/lib/libncurses.5.4.dylib

(because of X11?)

You might be able to see the options sent to "ld" by adding a "-v"
to the CFLAGS, and/or something like "-Wl,--verbose" to LDFLAGS.

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



reply via email to

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