libgobject-2.0.so.0: undefined symbol: g_date_time_unref

upgrade debian kernel to 4.4.133.

when stop/restart services, met the following error:

service webmin restart
/usr/bin/pkttyagent: symbol lookup error: /usr/lib/arm-linux-gnueabi/libgobject-2.0.so.0: undefined symbol: g_date_time_unref
Failed to restart webmin.service: Connection timed out
See system logs and ‘systemctl status webmin.service’ for details.

The problem is that your distribution has put a copy of glib in /lib for low-level services to use but when you installed the newer version of glib it only copied the library to /usr/lib. Hence the problem with incompatible bits of glib.


/lib$ ls libglib*
libglib-2.0.so.0 libglib-2.0.so.0.2400.2
yong@Debian:/lib$ ll libglib-2.0.so.0
lrwxrwxrwx 1 root root 23 Oct 24 2011 libglib-2.0.so.0 -> libglib-2.0.so.0.2400.2
/usr/lib/arm-linux-gnueabi$ ll libglib-2.0.so.0
lrwxrwxrwx 1 root root 23 Feb 7 00:28 libglib-2.0.so.0 -> libglib-2.0.so.0.5800.3

remove the old one in /lib will fix the issue.

自由撰稿人,时评人,平等公义追求者

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store