meson build failure libdl
In gio/tests/meson.build of 2.60.0:
dependencies: cc.find_library('dl'),
From the meson manual:
If the keyword argument required is false, Meson will proceed even if the library is not found.
As there is no "required" keyword in glib's meson.build, glib fails to build on any unix which doesn't have libdl. e.g., to quote https://autotools.io/autoconf/finding.html :
When using autoconf for portability, it's necessary to consider that some functions, even standard system ones, are often in different libraries on different operating systems. For instance, the dlopen() function is in libdl on GNU/Linux, and in the standard C library on FreeBSD and other BSD-derived systems.
This is one of the most common things to test,...