Packagers of Cockpit might be interested in this pull request. We'll
start to describe our dependency on GLib more accurately. Since versions
of GLib before 2.37.4 crash with cockpit-ws, we'll refuse to build on
This is the bug in question:
However if your distro has patched GLib to fix this bug (I think CentOS
has done this), you can use the mechanism provided by pkg-config to
override the check in question. This is described in the failure output
of configure when this dependency are not met:
Alternatively, you may set the environment variables GLIB_TLS_CFLAGS
and GLIB_TLS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.