Ubuntu 18.04 LTS: libQt5Xml.so.5: cannot open shared object file

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








up vote
1
down vote

favorite
1












I didn't used to get this error when running an application launcher in 16.04. In 16.04 I recall having to install the Qt libraries, but I think that was off the main repository. Is anyone clued in on what may me going on here with 18.04?



When I launch the "launcher" for an older game I get the following:




[path to my file] libQt5Xml.so.5: cannot open shared object file








share|improve this question


























    up vote
    1
    down vote

    favorite
    1












    I didn't used to get this error when running an application launcher in 16.04. In 16.04 I recall having to install the Qt libraries, but I think that was off the main repository. Is anyone clued in on what may me going on here with 18.04?



    When I launch the "launcher" for an older game I get the following:




    [path to my file] libQt5Xml.so.5: cannot open shared object file








    share|improve this question
























      up vote
      1
      down vote

      favorite
      1









      up vote
      1
      down vote

      favorite
      1






      1





      I didn't used to get this error when running an application launcher in 16.04. In 16.04 I recall having to install the Qt libraries, but I think that was off the main repository. Is anyone clued in on what may me going on here with 18.04?



      When I launch the "launcher" for an older game I get the following:




      [path to my file] libQt5Xml.so.5: cannot open shared object file








      share|improve this question














      I didn't used to get this error when running an application launcher in 16.04. In 16.04 I recall having to install the Qt libraries, but I think that was off the main repository. Is anyone clued in on what may me going on here with 18.04?



      When I launch the "launcher" for an older game I get the following:




      [path to my file] libQt5Xml.so.5: cannot open shared object file










      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 29 at 20:11









      valiano

      782313




      782313










      asked Apr 28 at 12:37









      Eddiefiggie

      133




      133




















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          It seems that you simply need to install just one package:



          sudo apt-get install libqt5xml5





          share|improve this answer
















          • 1




            This was the fix! I must have been trying to install the wrong library. Thanks!
            – Eddiefiggie
            Apr 28 at 19:21

















          up vote
          0
          down vote













          That’s what I initially thought too. After having I “apt” installed it, the error persisted. :( Before giving up last night, I wondered if perhaps it was an environmental variable or something along those lines that was all ready set up in 16.04 and not 18.04.






          share|improve this answer




















          • Regarding the suggestion to install libqt5xml5....That’s what I initially thought too. After having I “apt” installed it, the error persisted. :( Before giving up last night, I wondered if perhaps it was an environmental variable or something along those lines that was all ready set up in 16.04 and not 18.04.
            – eddiefiggie
            Apr 28 at 13:06











          • You must reinstall it using sudo apt install --reinstall libqt5xml5. Apt believes it is there, but it isn't.
            – datashaman
            May 24 at 7:18


















          up vote
          0
          down vote













          Ubuntu 18.04 seems to have a problem (at least on my instance) with shared object files that apt/dpkg believes are installed, but the files are missing.



          Use ldd to find out which shared object files are missing and reinstall them using apt. In this case, it's missing the package libqt5xml5, which you must reinstall. Installing will not work, because apt believes it is already installed, but you will find that the file itself is missing.



          sudo apt install --reinstall libqt5xml5


          Keep doing this until all the missing shared object files are restored, and the program will launch.



          Unfortunately, many of my apps are having the same problem. Something is not correct with the way apt works in Ubuntu 18.04.






          share|improve this answer




















            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%2f1029206%2fubuntu-18-04-lts-libqt5xml-so-5-cannot-open-shared-object-file%23new-answer', 'question_page');

            );

            Post as a guest






























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote



            accepted










            It seems that you simply need to install just one package:



            sudo apt-get install libqt5xml5





            share|improve this answer
















            • 1




              This was the fix! I must have been trying to install the wrong library. Thanks!
              – Eddiefiggie
              Apr 28 at 19:21














            up vote
            0
            down vote



            accepted










            It seems that you simply need to install just one package:



            sudo apt-get install libqt5xml5





            share|improve this answer
















            • 1




              This was the fix! I must have been trying to install the wrong library. Thanks!
              – Eddiefiggie
              Apr 28 at 19:21












            up vote
            0
            down vote



            accepted







            up vote
            0
            down vote



            accepted






            It seems that you simply need to install just one package:



            sudo apt-get install libqt5xml5





            share|improve this answer












            It seems that you simply need to install just one package:



            sudo apt-get install libqt5xml5






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Apr 28 at 12:40









            N0rbert

            15.2k33069




            15.2k33069







            • 1




              This was the fix! I must have been trying to install the wrong library. Thanks!
              – Eddiefiggie
              Apr 28 at 19:21












            • 1




              This was the fix! I must have been trying to install the wrong library. Thanks!
              – Eddiefiggie
              Apr 28 at 19:21







            1




            1




            This was the fix! I must have been trying to install the wrong library. Thanks!
            – Eddiefiggie
            Apr 28 at 19:21




            This was the fix! I must have been trying to install the wrong library. Thanks!
            – Eddiefiggie
            Apr 28 at 19:21












            up vote
            0
            down vote













            That’s what I initially thought too. After having I “apt” installed it, the error persisted. :( Before giving up last night, I wondered if perhaps it was an environmental variable or something along those lines that was all ready set up in 16.04 and not 18.04.






            share|improve this answer




















            • Regarding the suggestion to install libqt5xml5....That’s what I initially thought too. After having I “apt” installed it, the error persisted. :( Before giving up last night, I wondered if perhaps it was an environmental variable or something along those lines that was all ready set up in 16.04 and not 18.04.
              – eddiefiggie
              Apr 28 at 13:06











            • You must reinstall it using sudo apt install --reinstall libqt5xml5. Apt believes it is there, but it isn't.
              – datashaman
              May 24 at 7:18















            up vote
            0
            down vote













            That’s what I initially thought too. After having I “apt” installed it, the error persisted. :( Before giving up last night, I wondered if perhaps it was an environmental variable or something along those lines that was all ready set up in 16.04 and not 18.04.






            share|improve this answer




















            • Regarding the suggestion to install libqt5xml5....That’s what I initially thought too. After having I “apt” installed it, the error persisted. :( Before giving up last night, I wondered if perhaps it was an environmental variable or something along those lines that was all ready set up in 16.04 and not 18.04.
              – eddiefiggie
              Apr 28 at 13:06











            • You must reinstall it using sudo apt install --reinstall libqt5xml5. Apt believes it is there, but it isn't.
              – datashaman
              May 24 at 7:18













            up vote
            0
            down vote










            up vote
            0
            down vote









            That’s what I initially thought too. After having I “apt” installed it, the error persisted. :( Before giving up last night, I wondered if perhaps it was an environmental variable or something along those lines that was all ready set up in 16.04 and not 18.04.






            share|improve this answer












            That’s what I initially thought too. After having I “apt” installed it, the error persisted. :( Before giving up last night, I wondered if perhaps it was an environmental variable or something along those lines that was all ready set up in 16.04 and not 18.04.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Apr 28 at 12:55









            eddiefiggie

            12




            12











            • Regarding the suggestion to install libqt5xml5....That’s what I initially thought too. After having I “apt” installed it, the error persisted. :( Before giving up last night, I wondered if perhaps it was an environmental variable or something along those lines that was all ready set up in 16.04 and not 18.04.
              – eddiefiggie
              Apr 28 at 13:06











            • You must reinstall it using sudo apt install --reinstall libqt5xml5. Apt believes it is there, but it isn't.
              – datashaman
              May 24 at 7:18

















            • Regarding the suggestion to install libqt5xml5....That’s what I initially thought too. After having I “apt” installed it, the error persisted. :( Before giving up last night, I wondered if perhaps it was an environmental variable or something along those lines that was all ready set up in 16.04 and not 18.04.
              – eddiefiggie
              Apr 28 at 13:06











            • You must reinstall it using sudo apt install --reinstall libqt5xml5. Apt believes it is there, but it isn't.
              – datashaman
              May 24 at 7:18
















            Regarding the suggestion to install libqt5xml5....That’s what I initially thought too. After having I “apt” installed it, the error persisted. :( Before giving up last night, I wondered if perhaps it was an environmental variable or something along those lines that was all ready set up in 16.04 and not 18.04.
            – eddiefiggie
            Apr 28 at 13:06





            Regarding the suggestion to install libqt5xml5....That’s what I initially thought too. After having I “apt” installed it, the error persisted. :( Before giving up last night, I wondered if perhaps it was an environmental variable or something along those lines that was all ready set up in 16.04 and not 18.04.
            – eddiefiggie
            Apr 28 at 13:06













            You must reinstall it using sudo apt install --reinstall libqt5xml5. Apt believes it is there, but it isn't.
            – datashaman
            May 24 at 7:18





            You must reinstall it using sudo apt install --reinstall libqt5xml5. Apt believes it is there, but it isn't.
            – datashaman
            May 24 at 7:18











            up vote
            0
            down vote













            Ubuntu 18.04 seems to have a problem (at least on my instance) with shared object files that apt/dpkg believes are installed, but the files are missing.



            Use ldd to find out which shared object files are missing and reinstall them using apt. In this case, it's missing the package libqt5xml5, which you must reinstall. Installing will not work, because apt believes it is already installed, but you will find that the file itself is missing.



            sudo apt install --reinstall libqt5xml5


            Keep doing this until all the missing shared object files are restored, and the program will launch.



            Unfortunately, many of my apps are having the same problem. Something is not correct with the way apt works in Ubuntu 18.04.






            share|improve this answer
























              up vote
              0
              down vote













              Ubuntu 18.04 seems to have a problem (at least on my instance) with shared object files that apt/dpkg believes are installed, but the files are missing.



              Use ldd to find out which shared object files are missing and reinstall them using apt. In this case, it's missing the package libqt5xml5, which you must reinstall. Installing will not work, because apt believes it is already installed, but you will find that the file itself is missing.



              sudo apt install --reinstall libqt5xml5


              Keep doing this until all the missing shared object files are restored, and the program will launch.



              Unfortunately, many of my apps are having the same problem. Something is not correct with the way apt works in Ubuntu 18.04.






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                Ubuntu 18.04 seems to have a problem (at least on my instance) with shared object files that apt/dpkg believes are installed, but the files are missing.



                Use ldd to find out which shared object files are missing and reinstall them using apt. In this case, it's missing the package libqt5xml5, which you must reinstall. Installing will not work, because apt believes it is already installed, but you will find that the file itself is missing.



                sudo apt install --reinstall libqt5xml5


                Keep doing this until all the missing shared object files are restored, and the program will launch.



                Unfortunately, many of my apps are having the same problem. Something is not correct with the way apt works in Ubuntu 18.04.






                share|improve this answer












                Ubuntu 18.04 seems to have a problem (at least on my instance) with shared object files that apt/dpkg believes are installed, but the files are missing.



                Use ldd to find out which shared object files are missing and reinstall them using apt. In this case, it's missing the package libqt5xml5, which you must reinstall. Installing will not work, because apt believes it is already installed, but you will find that the file itself is missing.



                sudo apt install --reinstall libqt5xml5


                Keep doing this until all the missing shared object files are restored, and the program will launch.



                Unfortunately, many of my apps are having the same problem. Something is not correct with the way apt works in Ubuntu 18.04.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 24 at 7:17









                datashaman

                1135




                1135



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1029206%2fubuntu-18-04-lts-libqt5xml-so-5-cannot-open-shared-object-file%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    Trouble downloading packages list due to a “Hash sum mismatch” error

                    How do I move numbers in filenames, in a batch renaming operation?