1

On a fresh install (not an upgrade from 17.04) I am not able to install /run virtualbox. I get the following error message when I run virtualbox:

tim@africantiger:~/Downloads$ virtualbox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: libQt5Core.so.5: cannot open shared object file: No such file or directory

I tried satisfying all the libQt5* dependencies but eventually I get stuck on the following:

tim@africantiger:/usr/lib/virtualbox$ virtualbox 
Qt FATAL: This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Not sure how to proceed -- help!

Videonauth
  • 33,815
CAA
  • 11

1 Answers1

0

I had a very similar problem. This is my question and answer, but what I did to fix the problem when I got to the xcb error was:

  1. based on the output of ldd /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so:
  2. sudo apt install libxcb-xinerama0*
  3. sudo apt install --reinstall libxcb-xinerama0*