Incorrectly detected GLib version (2.58.3, instead of 2.70.1)
(This is my first time opening an issue, pardon me if I format it incorrectly).
I am using GLib version 2.70.1 on Linux 5.4.50. PyGObject is 3.42.0.
Executing the following in Python (3.10):
from gi.repository import GLib
glib_ver = '.'.join(map(str, [GLib.MAJOR_VERSION,
GLib.MINOR_VERSION,
GLib.MICRO_VERSION]))
In this situation printing glib_ver
gives 2.58.3
.
strace implies that Python is linking to my GLib library in /usr/lib64.
openat(AT_FDCWD, "/usr/lib64/libglib-2.0.so.0", O_RDONLY|O_CLOEXEC) = 3
GSettings is also linked to the same library according to ldd.
[root@molina /home/nether]# ldd /usr/bin/gsettings
linux-vdso.so.1 (0x00007ffcf4dff000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f014d490000)
libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f014d346000)
...
However, gsettings --version
gives 2.70.1
.
Is something misconfigured on my system or is this issue known (or unknown)? I was not able to find an open issue thus far.
Edited by Nether Gossard