open-vm-tools fails because of missing libglib-2.0.so.0
open-vm-tools on 2.3 fails with:
# /usr/local/etc/rc.d/vmware-guestd.sh start Shared object "libglib-2.0.so.0" not found, required by "vmware-checkvm" /usr/local/etc/rc.d/vmware-guestd.sh: WARNING: failed precmd routine for vmware_guestd
# ldd /usr/local/bin/vmware-checkvm /usr/local/bin/vmware-checkvm: ...snip... libglib-2.0.so.0 => not found (0)
#2 Updated by Chris Buechler over 4 years ago
- Status changed from Feedback to Confirmed
- Assignee changed from Chris Buechler to Renato Botelho
Yeah this issue still exists on every VM I have. Just installing the package then trying to run the script as shown is enough to replicate. Maybe your test systems got that file from elsewhere?
: find / -name 'libglib*' /usr/local/lib/libglib-2.0.a /usr/local/lib/libglib-2.0.so /usr/local/lib/libglib-2.0.so.0.4400.1
#4 Updated by Kill Bill over 4 years ago
Not really, you are still removing too much.
Shared object "libgmodule-2.0.so.0" not found, required by "vmtoolsd" /usr/local/etc/rc.d/vmware-guestd.sh: WARNING: failed to start vmware_guestd
And while there, remove /usr/local/lib/libgthread-2.0.so.0 from the list as well to avoid yet another round of this.