It is an extremely common mistake on Windows to have incorrect PATH values when loading a plugin, and the error from g_module_error() (which just calls FormatMessageW()) is very confusing in this case: The specified module could not be found. https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499-#ERROR_MOD_NOT_FOUND It implies the plugin itself could not be found. The actual issue is that a DLL dependency could not be found. We need to detect this case and print a more useful error message. We should still print the error fetched from FormatMessage() so that people are able to google for it. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1540>