bug-ncurses
[Top][All Lists]
Advanced

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

Re: dlsym not needed when linking statically


From: Thomas Dickey
Subject: Re: dlsym not needed when linking statically
Date: Fri, 14 Oct 2005 16:50:11 -0400 (EDT)

On Fri, 14 Oct 2005, Felix von Leitner wrote:

Thus spake Thomas Dickey (address@hidden):
I just tried to link ncurses 5.5 statically with the diet libc, and it
fails.  It fails because configure wants to have dlsym (which is not
there when linking statically).  Why does it want to have dlsym?  So it
can check whether libgpm.so (which does not exist when linking
statically) has a dependency on libcurses.so (as far as I can see).

Please remove this evil kludge from configure, at least in the case
--enable-static --disable-shared.
So you're statically linking with gpm then, and can offer some advice on
how this is being used.

Otherwise you could simply do this:
        configure --without-gpm

To tell you the truth: I have no idea how or why ncurses uses gpm.
I want to use ncurses to link code that uses curses, for example the
zsh.  Obviously, zsh will also work without gpm support in ncurses.
But what about mutt, for example?

mutt won't either.

What does the gpm support in ncurses do?

It's a mouse interface - allows an application to get mouse button events.

(We're talking about a development change from a year ago - I thought
everyone had had a chance to consider this one).

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




reply via email to

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