Ubuntu 18.4 libQt5Core.so.5: cannot open shared object file: No such file or directory
up vote
0
down vote
favorite
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?
virtualbox 18.04 qt5
add a comment |
up vote
0
down vote
favorite
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?
virtualbox 18.04 qt5
3
Possible duplicate of Virtualbox not launching on ubuntu 18.04 - Qt lib problem
– karel
Nov 30 at 7:27
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
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?
virtualbox 18.04 qt5
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?
virtualbox 18.04 qt5
virtualbox 18.04 qt5
edited Dec 2 at 18:09
Zanna
49.3k13127236
49.3k13127236
asked May 10 at 3:34
jobycxa
111
111
3
Possible duplicate of Virtualbox not launching on ubuntu 18.04 - Qt lib problem
– karel
Nov 30 at 7:27
add a comment |
3
Possible duplicate of Virtualbox not launching on ubuntu 18.04 - Qt lib problem
– karel
Nov 30 at 7:27
3
3
Possible duplicate of Virtualbox not launching on ubuntu 18.04 - Qt lib problem
– karel
Nov 30 at 7:27
Possible duplicate of Virtualbox not launching on ubuntu 18.04 - Qt lib problem
– karel
Nov 30 at 7:27
add a comment |
1 Answer
1
active
oldest
votes
up vote
2
down vote
For all the "not found" libraries, identify their package as you have done with apt-file search for libQt5Gui.so.5. Then install the packages with sudo apt-get install,for example:
sudo apt-get install libqt5gui5
The installation of the packages should put the libraries in the proper location so they will be found.
If files are not present, either they were installed in the wrong place (manually forced somewhere), they are the wrong architecture (i386 instead of amd64, so would be in /usr/lib/i386-linux-gnu), or the installation did not run properly (check the status of the packages with the command:
dpkg -l | grep libqt5
The properly installed packages will have status "ii".
You could use the locate command to find the file(s) if they are somewhere else on the system, but if you installed them, that possibility is not likely.
I have installed all the libqt5* packages but i can not find them on the location
– jobycxa
May 10 at 12:14
Please see the below commands for clarification # dpkg -l | grep libqt5gui5 ii libqt5gui5:amd64 5.9.5+dfsg-0ubuntu1 amd64 Qt 5 GUI module
– jobycxa
May 11 at 0:39
You can add such info to your original question. So it's installed, but not in the expected location. How did you install? Can you reinstall? Is anything present in /usr/lib/x86_64-linux-gnu (since the error might be a missing directory)?
– ubfan1
May 11 at 1:05
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1034313%2fubuntu-18-4-libqt5core-so-5-cannot-open-shared-object-file-no-such-file-or-dir%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
For all the "not found" libraries, identify their package as you have done with apt-file search for libQt5Gui.so.5. Then install the packages with sudo apt-get install,for example:
sudo apt-get install libqt5gui5
The installation of the packages should put the libraries in the proper location so they will be found.
If files are not present, either they were installed in the wrong place (manually forced somewhere), they are the wrong architecture (i386 instead of amd64, so would be in /usr/lib/i386-linux-gnu), or the installation did not run properly (check the status of the packages with the command:
dpkg -l | grep libqt5
The properly installed packages will have status "ii".
You could use the locate command to find the file(s) if they are somewhere else on the system, but if you installed them, that possibility is not likely.
I have installed all the libqt5* packages but i can not find them on the location
– jobycxa
May 10 at 12:14
Please see the below commands for clarification # dpkg -l | grep libqt5gui5 ii libqt5gui5:amd64 5.9.5+dfsg-0ubuntu1 amd64 Qt 5 GUI module
– jobycxa
May 11 at 0:39
You can add such info to your original question. So it's installed, but not in the expected location. How did you install? Can you reinstall? Is anything present in /usr/lib/x86_64-linux-gnu (since the error might be a missing directory)?
– ubfan1
May 11 at 1:05
add a comment |
up vote
2
down vote
For all the "not found" libraries, identify their package as you have done with apt-file search for libQt5Gui.so.5. Then install the packages with sudo apt-get install,for example:
sudo apt-get install libqt5gui5
The installation of the packages should put the libraries in the proper location so they will be found.
If files are not present, either they were installed in the wrong place (manually forced somewhere), they are the wrong architecture (i386 instead of amd64, so would be in /usr/lib/i386-linux-gnu), or the installation did not run properly (check the status of the packages with the command:
dpkg -l | grep libqt5
The properly installed packages will have status "ii".
You could use the locate command to find the file(s) if they are somewhere else on the system, but if you installed them, that possibility is not likely.
I have installed all the libqt5* packages but i can not find them on the location
– jobycxa
May 10 at 12:14
Please see the below commands for clarification # dpkg -l | grep libqt5gui5 ii libqt5gui5:amd64 5.9.5+dfsg-0ubuntu1 amd64 Qt 5 GUI module
– jobycxa
May 11 at 0:39
You can add such info to your original question. So it's installed, but not in the expected location. How did you install? Can you reinstall? Is anything present in /usr/lib/x86_64-linux-gnu (since the error might be a missing directory)?
– ubfan1
May 11 at 1:05
add a comment |
up vote
2
down vote
up vote
2
down vote
For all the "not found" libraries, identify their package as you have done with apt-file search for libQt5Gui.so.5. Then install the packages with sudo apt-get install,for example:
sudo apt-get install libqt5gui5
The installation of the packages should put the libraries in the proper location so they will be found.
If files are not present, either they were installed in the wrong place (manually forced somewhere), they are the wrong architecture (i386 instead of amd64, so would be in /usr/lib/i386-linux-gnu), or the installation did not run properly (check the status of the packages with the command:
dpkg -l | grep libqt5
The properly installed packages will have status "ii".
You could use the locate command to find the file(s) if they are somewhere else on the system, but if you installed them, that possibility is not likely.
For all the "not found" libraries, identify their package as you have done with apt-file search for libQt5Gui.so.5. Then install the packages with sudo apt-get install,for example:
sudo apt-get install libqt5gui5
The installation of the packages should put the libraries in the proper location so they will be found.
If files are not present, either they were installed in the wrong place (manually forced somewhere), they are the wrong architecture (i386 instead of amd64, so would be in /usr/lib/i386-linux-gnu), or the installation did not run properly (check the status of the packages with the command:
dpkg -l | grep libqt5
The properly installed packages will have status "ii".
You could use the locate command to find the file(s) if they are somewhere else on the system, but if you installed them, that possibility is not likely.
edited May 10 at 15:35
answered May 10 at 5:23
ubfan1
9,15141527
9,15141527
I have installed all the libqt5* packages but i can not find them on the location
– jobycxa
May 10 at 12:14
Please see the below commands for clarification # dpkg -l | grep libqt5gui5 ii libqt5gui5:amd64 5.9.5+dfsg-0ubuntu1 amd64 Qt 5 GUI module
– jobycxa
May 11 at 0:39
You can add such info to your original question. So it's installed, but not in the expected location. How did you install? Can you reinstall? Is anything present in /usr/lib/x86_64-linux-gnu (since the error might be a missing directory)?
– ubfan1
May 11 at 1:05
add a comment |
I have installed all the libqt5* packages but i can not find them on the location
– jobycxa
May 10 at 12:14
Please see the below commands for clarification # dpkg -l | grep libqt5gui5 ii libqt5gui5:amd64 5.9.5+dfsg-0ubuntu1 amd64 Qt 5 GUI module
– jobycxa
May 11 at 0:39
You can add such info to your original question. So it's installed, but not in the expected location. How did you install? Can you reinstall? Is anything present in /usr/lib/x86_64-linux-gnu (since the error might be a missing directory)?
– ubfan1
May 11 at 1:05
I have installed all the libqt5* packages but i can not find them on the location
– jobycxa
May 10 at 12:14
I have installed all the libqt5* packages but i can not find them on the location
– jobycxa
May 10 at 12:14
Please see the below commands for clarification # dpkg -l | grep libqt5gui5 ii libqt5gui5:amd64 5.9.5+dfsg-0ubuntu1 amd64 Qt 5 GUI module
– jobycxa
May 11 at 0:39
Please see the below commands for clarification # dpkg -l | grep libqt5gui5 ii libqt5gui5:amd64 5.9.5+dfsg-0ubuntu1 amd64 Qt 5 GUI module
– jobycxa
May 11 at 0:39
You can add such info to your original question. So it's installed, but not in the expected location. How did you install? Can you reinstall? Is anything present in /usr/lib/x86_64-linux-gnu (since the error might be a missing directory)?
– ubfan1
May 11 at 1:05
You can add such info to your original question. So it's installed, but not in the expected location. How did you install? Can you reinstall? Is anything present in /usr/lib/x86_64-linux-gnu (since the error might be a missing directory)?
– ubfan1
May 11 at 1:05
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1034313%2fubuntu-18-4-libqt5core-so-5-cannot-open-shared-object-file-no-such-file-or-dir%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
Possible duplicate of Virtualbox not launching on ubuntu 18.04 - Qt lib problem
– karel
Nov 30 at 7:27