After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 480122 - g_module_open fails to open modules with ".la" extension
g_module_open fails to open modules with ".la" extension
Product: glib
Classification: Platform
Component: gmodule
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
Depends on:
Reported: 2007-09-25 08:05 UTC by Andrey Tsyvarev
Modified: 2007-12-23 05:53 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Andrey Tsyvarev 2007-09-25 08:05:31 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:
Comment 1 Matthias Clasen 2007-12-23 05:53:45 UTC
2007-12-22  Matthias Clasen  <>

        * gmodule.c (g_module_open): Don't fail to load modules
        with suffix .la.  (#480122, Andrey Tsyvarev)