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?