Ubuntu 18.4 libQt5Core.so.5: cannot open shared object file: No such file or directory

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I have ubuntu 18.04 while launching virtual box i am getting following 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


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


Please help







share|improve this question
























    up vote
    0
    down vote

    favorite












    I have ubuntu 18.04 while launching virtual box i am getting following 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


    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


    Please help







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have ubuntu 18.04 while launching virtual box i am getting following 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


      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


      Please help







      share|improve this question












      I have ubuntu 18.04 while launching virtual box i am getting following 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


      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


      Please help









      share|improve this question











      share|improve this question




      share|improve this question










      asked May 10 at 3:34









      jobycxa

      11




      11




















          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.






          share|improve this answer






















          • 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










          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: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          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






























          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.






          share|improve this answer






















          • 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














          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.






          share|improve this answer






















          • 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












          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.






          share|improve this answer














          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.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited May 10 at 15:35

























          answered May 10 at 5:23









          ubfan1

          8,60631527




          8,60631527











          • 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











          • 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












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          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













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491