VirtualBox in Ubuntu is failing to start because of a kernel module problem. At least this is the impression I am getting from reading the journal logs. If I try to run terminal commands I am greeted with
/usr/lib/VirtualBox/VirtualBox: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
The error message suggests the solution is to recompile the kernel module and install it with sudo /sbin/vboxconfig
but entering this into the terminal only results in the same libssl.so.1.0.0
error as before as well as vboxdrv.sh: failed: Cannot detect VirtualBox version number.
This looks to be all the fault of vdfuse
which I attempted to install and it apparently damaged VirtualBox and may have nearly rendered my system unbootable when initramfs failed to update. I removed the offending files added by vdfuse so initramfs could update properly but VirtualBox, which was running before, nolonger starts. I suspect this is because vdfuse hasn't been updated in years and is thus not properly maintained.
So is there a simple way to get the kernel modules working again or must I go to the trouble of fully re-installing and re-configuring VirtualBox?
libssl.so.1.0.0
. Islibssl
installed? If so, try afind /usr -name 'libssl*'
to see what might be the problem.libssl
and came across names withlibssl1.1
andlibssl3
but notlibssl1.0.0
The/usr
folder contains:/usr/share/doc/libssl1.1
/usr/lib/thunderbird/libssl3.so
/usr/lib/firefox/libssl3.so
/usr/lib/x86_64-linux-gnu/libssl.so.1.1
/usr/lib/x86_64-linux-gnu/libssl3.so
Alsoopenssl version
gave meOpenSSL 1.1.1f 31 Mar 2020
I don't know what the vdfuse install script could've done to remove a version since it only added files nor why VBox is requesting an older version now.libssl
. The best course of action is to upgrade Virtualbox. If you, for some reason, do not want to do that, you might tryln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.1 /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
. Chances are, that it will just complain about the next out-of-date library or tha Virtualbox will just crash. But sometimes, with a few links like this, you actually can get old software to work./usr/virtualbox/VBoxDDU.so
and/usr/virtualbox/VBoxRT.so
. To remove vdfuse I located all the files that thevdprepare.sh
install script had added and deleted them, this included the aforementioned files. But when I did this VBox failed with errors indicating they were required (were already part of VBox?) so I added them back in.VBoxDDU.so
andVBoxRT.so
files included in the vdfuse installer since I didn't have the originals saved...and this is where I am at now. If these files are different from the originals because they are out of date, could this be the cause of my libssl problems? Where then can I get up-to-date versions of these files?