Link to GLIB_LIBS, not just GTK_LIBS, to pick up gmodule on newer glib. --- wireshark-1.8.0/Makefile.am +++ wireshark-1.8.0/Makefile.am @@ -307,11 +307,11 @@ # Libraries and plugin flags with which to link wireshark. # -# Note that Wireshark doesn't have to be linked with @GLIB_LIBS@, as -# they are included in @GTK_LIBS@, and doesn't have to be linked with -# @SOCKET_LIBS@ or @NSL_LIBS@, as those should also be included in -# @GTK_LIBS@ (as those are also needed for X applications, and GTK+ -# applications are X applications). +# @GTK_LIBS@ has most of @GLIB_LIBS@ but misses gmodule, which we use. +# Wireshark doesn't have to be linked with @SOCKET_LIBS@ or +# @NSL_LIBS@, as those should also be included in @GTK_LIBS@ (as those +# are also needed for X applications, and GTK+ applications are X +# applications). wireshark_LDADD = \ ui/gtk/libgtkui.a \ ui/gtk/libgtkui_dirty.a \ @@ -333,6 +333,7 @@ @LIBGNUTLS_LIBS@ \ @LIBSMI_LDFLAGS@ \ @PORTAUDIO_LIBS@ \ + @GLIB_LIBS@ \ @GTK_LIBS@ -lm wireshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)