[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 15:57:12 -0500 (EST) |
On Thu, 25 Nov 2010, Christian Ebert wrote:
* 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"?
something like
gcc -o xterm main.o charproc.o ... -L /usr/local/lib/ -lncurses
In xterm's makefile, it's done at the end of plink.sh
plink.sh tries to remove as many -l's as it can, to make the binaries
less sensitive to changes in the libraries. (It also has some special
case to handle the PCRE library).
On some systems, it's hard to mix static and shared libraries (but I seem
to recall you're building shared libraries).
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?
It might be - referring to ncurses' shlib script - something in the list
of directories given in the DYLD_LIBRARY_PATH environment variable.
Again, thanks for your patience.
no problem (I'd like to find the answer - I don't have regular access to
Mac OS X)
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
- xterm fails to link against local ncurses, Christian Ebert, 2010/11/25
- Re: xterm fails to link against local ncurses, Thomas Dickey, 2010/11/25
- Re: xterm fails to link against local ncurses, Christian Ebert, 2010/11/25
- Re: xterm fails to link against local ncurses, Thomas Dickey, 2010/11/25
- Re: xterm fails to link against local ncurses, Christian Ebert, 2010/11/25
- Re: xterm fails to link against local ncurses, Thomas Dickey, 2010/11/25
- Re: xterm fails to link against local ncurses, Christian Ebert, 2010/11/25
- Re: xterm fails to link against local ncurses, Christian Ebert, 2010/11/25
- Re: xterm fails to link against local ncurses, Thomas Dickey, 2010/11/25
- Re: xterm fails to link against local ncurses,
Thomas Dickey <=
- Re: xterm fails to link against local ncurses, Christian Ebert, 2010/11/25
- Re: xterm fails to link against local ncurses, Thomas Dickey, 2010/11/25
- Re: xterm fails to link against local ncurses, Christian Ebert, 2010/11/25
- Re: xterm fails to link against local ncurses, Thomas Dickey, 2010/11/25