I have Ubuntu 18.04.
While launching virtual box I am getting an error
$ virtualbox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: libQt5Core.so.5: cannot open shared object file: No such file or directory
$ ldd /usr/lib/virtualbox/VirtualBox.so | grep Qt
libQt5X11Extras.so.5 => /usr/lib/x86_64-linux-gnu/libQt5X11Extras.so.5 (0x00007f7dcec8e000)
libQt5Core.so.5 => not found
libQt5Gui.so.5 => not found
libQt5Widgets.so.5 => not found
libQt5PrintSupport.so.5 => /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007f7dcea1f000)
libQt5OpenGL.so.5 => /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5 (0x00007f7dce7c8000)
libQt5Gui.so.5 => not found
libQt5Core.so.5 => not found
libQt5Widgets.so.5 => not found
libQt5Gui.so.5 => not found
libQt5Core.so.5 => not found
libQt5Widgets.so.5 => not found
libQt5Gui.so.5 => not found
libQt5Core.so.5 => not found
$ apt-file search libQt5Gui.so.5
libqt5gui5: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
libqt5gui5: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.9
libqt5gui5: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.9.5
The system has libqt5* packages but I cannot list some of them using
$ ls /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
ls: cannot access '/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5': No such file or directory
How can I fix this?
sudocommand on Ubuntu 20.x and it worked like a charm. – nick-s Apr 20 '20 at 23:50stripdoes the work in WSL. I used Calibre to convert epub to mobi and fased with problem... See official report: https://github.com/microsoft/WSL/issues/3023 – gavenkoa Aug 15 '20 at 19:30bash: strip: command not found. Not sure which package gives this executable either! Any pointers? Thanks. – Samik R Oct 12 '20 at 13:11Segmentation fault. :( – fsevenm Feb 25 '21 at 22:34sudo apt-mark hold libqt5gui5(or the equivalent command for your distro) after running thestripcommand to avoid it being overwritten by future OS updates. – Feb 06 '22 at 15:37strip: /usr/lib/x86_64-linux-gnu/libQt5Core.so: could not create temporary file to hold stripped copy: cause of error unknown.I am running as
– Paidoo Feb 21 '23 at 16:36sudoand the container is--writable, does anyone have any ideas?