GNOME Bugzilla – Bug 480122
g_module_open fails to open modules with ".la" extension
Last modified: 2007-12-23 05:53:45 UTC
If a module (not a libtool archive) has ".la" extension, g_module_open fails to open it when passed its full name. At the same time the documentation reads: "First of all g_module_open() tries to open file_name as a module. If that fails and file_name has the ".la"-suffix (and is a libtool archive) it tries to open the corresponding module." Also after that fail g_module_error returns NULL as if no error has occured. According to the documentation g_module_error returns a string describing the last module error. The detailed bug description can be found at: http://linuxtesting.org/results/report?num=S0575 http://linuxtesting.org/results/report?num=S0576
2007-12-22 Matthias Clasen <mclasen@redhat.com> * gmodule.c (g_module_open): Don't fail to load modules with suffix .la. (#480122, Andrey Tsyvarev)