On 4/29/26 11:05 PM, Izumi Tsutsui via gnats wrote:
Linux dlsym(3) man page claims dlsym() can return NULL without error: https://man7.org/linux/man-pages/man3/dlsym.3.html Maybe this is the reason why GLib/GObject-Introspection always checks dlerror().
Please read the NOTES section of that page. I'd argue strongly that none of those conditions exist in sane software and should all just be handled as error without any loss.
Joerg