Kai Haberzettl wrote:
> > OK, what is missing here? I wouldn't know what should
be wrong with my
> > /etc/ld.so.conf
>
> > checking for dlopen in -lc... checking for dlopen in -ldl... checking for
shl_load in -ldld... no
> > checking for dld_init in -ldld... no
> > configure: warning: Module support cannot be provided.
> >
> > *** PANIC *** The C compiler can no longer build working executables.
>
> What does config.log say?
This appears to be where things start to go wrong:
configure:13264: checking for TTY-related features
configure:13280: checking for tgetent in -lncurses
configure:13296: gcc -o conftest -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes
-Wshadow -I/usr/X11/include -L/usr/X11/lib conftest.c -lncurses -lXm
-ltiff -ljpeg -lz -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE -lm -lutil -lgcc -lc -lgcc
/usr/lib/crtn.o 1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lncurses
I would have expected it to find the ncurses library. Do you have a
libncurses.so?
collect2: ld returned 1 exit status
configure: failed program was:
#line 13285 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char tgetent();
int main() {
tgetent()
; return 0; }
I would expect to have seen a load more stuff at this point.
For the next check, "-ltermcap -lcurses" has been added to the list of
libraries, ...
configure:13585: checking for gpm.h
configure:13593: gcc -E -I/usr/X11/include conftest.c >/dev/null
2>conftest.out
configure:13616: checking for Gpm_Open in -lgpm
configure:13632: gcc -o conftest -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes
-Wshadow -I/usr/X11/include -L/usr/X11/lib conftest.c -lgpm -lXm -ltiff
-ljpeg -lz -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE -ltermcap -lcurses -lm -lutil
-lgcc -lc -lgcc /usr/lib/crtn.o 1>&5
/usr/i486-suse-linux/bin/ld: cannot find -ltermcap
but you don't appear to have libtermcap (that isn't surprising, unlike
the ncurses failure).
Consequently, every check from here on in fails.
Suggestions: ensure that you have libncurses, and (most importantly)
the libncurses.so symlink. If this is a RedHat system, you only get
the unversioned symlink when you install the corresponding -devel
package (i.e. ncurses-devel in this case).
Failing that, try giving the "--with-tty=no" switch to configure.
--
Glynn Clements <glynn(a)sensei.co.uk>