Member-only story

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

More Less
1 min readMar 18, 2019

--

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.

--

--

More Less
More Less

Written by More Less

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

No responses yet