Bug#955331: After upgrading to buster, libgobject-2.0.so.0 give error "undefined symbol: g_variant_dict_ref"

Becka becka at rebecka.co.uk
Mon Mar 30 01:50:17 BST 2020


Package: libglib2.0-0
Version: 2.58.3-2+deb10u2

I upgraded my system (a headless microserver) to buster today using the standard commands (apt-get upgrade and apt-get dist-upgrade) and did not notice any errors causing it to fail.

However my minidlna server (the latest packaged version, 1.2.1+dfsg-1+b1) does not start giving the following error:

$ sudo /etc/init.d/minidlna start
/usr/sbin/minidlnad: symbol lookup error: /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined symbol: g_variant_dict_ref


The same error is given by trying to run ffmpeg.  Looking back, the error did appear twice when upgrading the system:

Setting up libgtk2.0-0:i386 (2.24.32-3) ...
/usr/lib/i386-linux-gnu/libgtk2.0-0/gtk-query-immodules-2.0: symbol lookup error: /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined symbol: g_variant_dict_ref

And:

Processing triggers for libgdk-pixbuf2.0-0:i386 (2.38.1+dfsg-1) ...
/usr/lib/i386-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders: symbol lookup error: /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined symbol: g_variant_dict_ref


Searching for advice I found bug reports  (894763, 896019) related to a different symbol error for the same library, with the discussion based on older versions not being deleted.  Although the symlink was to the newer file, there was an older version (libgobject-2.0.so.0.3600.4) so I deleted this.  As that did not make any difference I moved the file and symlinks and reinstalled the libglib2.0-0 package.  However this did not fix the problem but also showed the error.

$ sudo apt-get --reinstall install libglib2.0-0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/1,334 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 99760 files and directories currently installed.)
Preparing to unpack .../libglib2.0-0_2.58.3-2+deb10u2_i386.deb ...
Unpacking libglib2.0-0:i386 (2.58.3-2+deb10u2) over (2.58.3-2+deb10u2) ...
Setting up libglib2.0-0:i386 (2.58.3-2+deb10u2) ...
/usr/lib/i386-linux-gnu/glib-2.0/glib-compile-schemas: symbol lookup error: /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined symbol: g_variant_dict_ref
Processing triggers for libc-bin (2.28-10) …

The files that were reinstalled matched the ones I moved away:

$ ls -il /usr/lib/i386-linux-gnu/libgobj*
668723 -rw-r--r-- 1 root root 585560 Nov  6 08:29 /usr/lib/i386-linux-gnu/libgobject-2.0.a
673372 lrwxrwxrwx 1 root root     19 Nov  6 08:29 /usr/lib/i386-linux-gnu/libgobject-2.0.so -> libgobject-2.0.so.0
672715 lrwxrwxrwx 1 root root     26 Nov  6 08:29 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 -> libgobject-2.0.so.0.5800.3
669037 -rw-r--r-- 1 root root 406900 Nov  6 08:29 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.5800.3

Using find there are no other files matching the name "libgobject*" in other directories to conflict.  And here is a dpkg search output, as it was requested on one of the other bug reports:

$ dpkg -S libglib-2.0.so
libglib2.0-dev:i386: /usr/share/gdb/auto-load/usr/lib/i386-linux-gnu/libglib-2.0.so.0.5800.3-gdb.py
libglib2.0-dev:i386: /usr/lib/i386-linux-gnu/libglib-2.0.so
libglib2.0-0:i386: /usr/lib/i386-linux-gnu/libglib-2.0.so.0.5800.3
libglib2.0-0:i386: /usr/lib/i386-linux-gnu/libglib-2.0.so.0


My system details are

Kernel: Linux kierkegaard 4.19.0-8-686-pae #1 SMP Debian 4.19.98-1 (2020-01-26) i686 GNU/Linux
Share C Library: Version: 2.28-10
Hardware:

Architecture:        i686
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
Address sizes:       48 bits physical, 48 bits virtual
CPU(s):              2
On-line CPU(s) list: 0,1
Thread(s) per core:  1
Core(s) per socket:  2
Socket(s):           1
Vendor ID:           AuthenticAMD
CPU family:          16
Model:               6
Model name:          AMD Turion(tm) II Neo N54L Dual-Core Processor
Stepping:            3
CPU MHz:             1300.000
CPU max MHz:         2200.0000
CPU min MHz:         800.0000
BogoMIPS:            4392.80
Virtualization:      AMD-V
L1d cache:           64K
L1i cache:           64K
L2 cache:            1024K
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc cpuid extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr hw_pstate vmmcall npt lbrv svm_lock nrip_save


More information about the pkg-gnome-maintainers mailing list