[Top][All Lists]

[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 11:46:46 -0500 (EST)

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

I've experimented with lots of CFLAGS and LDFLAGS settings to no
avail. I have (more or less) no problems in linking e.g. mutt,
vim etc. against ncurses under /usr/local. What can I do?

I'm assuming you tried LDFLAGS=-L/usr/local/lib

I'm aware that this might be the wrong list. If yes, just tell me
to go away - preferably with a direction where to go ;-)

perhaps this configure option would help (in configuring xterm):

  --disable-rpath-hack    don't add rpath options for additional libraries

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

Thomas E. Dickey

reply via email to

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