can't load shared library libXt.so.6 - although it can be located












1















Starting binary -> can't open shared library



I want to start a binary:



$ my@mypc:~/Machinarium$ ./Machinarium
./Machinarium: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory


e here



(Same happens when I try to start it via linux32 ./Machinarium. It is a 32bit linux binary and I have a 64bit machine. Same with sudo.)





Locating the library (it exists)



I tried to locate it: (fourth line from the bottom is the important one)



me@mypc:~/Machinarium$ locate libXt
/home/me/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXt.so.6
/home/me/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
/home/me/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXtst.so.6
/home/me/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0
/home/me/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXt.so.6
/home/me/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXt.so.6.0.0
/home/me/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXtst.so.6
/home/me/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXtst.so.6.1.0
/home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libXt.so.6
/home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
/home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libXtst.so.6
/home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0
/home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libXt.so.6
/home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libXt.so.6.0.0
/home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libXtst.so.6
/home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libXtst.so.6.1.0
/usr/lib/x86_64-linux-gnu/libXt.a
/usr/lib/x86_64-linux-gnu/libXt.so
/usr/lib/x86_64-linux-gnu/libXt.so.6
/usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
/usr/lib/x86_64-linux-gnu/libXtst.so.6
/usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0


So what happened? It's clearly there. Why can't it be found?





Install i386 version explicitly



I thought since it's a folder labeled x86_64 this might not be compatible to that 32bit game. So I installed the 32bit version explicitly. (Following that stackoverflow answer.)



me@mypc:~/Machinarium$ sudo apt install libxtst6:i386
libxtst6:i386 already is the newest version (2:1.2.3-1).


(translation by me. This is one line of what the very shord answer by apt says.)





Requirements check -> not found



I checked the requirements for the binary: (I only give you the important line of the output and ignore any other line, if you really need the rest I wonder what for. Just tell me in the comments if needed!)



me@mypc:~/Machinarium$ ldd Machinarium
libXt.so.6 => not found




Question




  • Why doesn't the binary find the shared library?

  • How to fix that?










share|improve this question





























    1















    Starting binary -> can't open shared library



    I want to start a binary:



    $ my@mypc:~/Machinarium$ ./Machinarium
    ./Machinarium: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory


    e here



    (Same happens when I try to start it via linux32 ./Machinarium. It is a 32bit linux binary and I have a 64bit machine. Same with sudo.)





    Locating the library (it exists)



    I tried to locate it: (fourth line from the bottom is the important one)



    me@mypc:~/Machinarium$ locate libXt
    /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXt.so.6
    /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
    /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXtst.so.6
    /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0
    /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXt.so.6
    /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXt.so.6.0.0
    /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXtst.so.6
    /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXtst.so.6.1.0
    /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libXt.so.6
    /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
    /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libXtst.so.6
    /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0
    /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libXt.so.6
    /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libXt.so.6.0.0
    /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libXtst.so.6
    /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libXtst.so.6.1.0
    /usr/lib/x86_64-linux-gnu/libXt.a
    /usr/lib/x86_64-linux-gnu/libXt.so
    /usr/lib/x86_64-linux-gnu/libXt.so.6
    /usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
    /usr/lib/x86_64-linux-gnu/libXtst.so.6
    /usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0


    So what happened? It's clearly there. Why can't it be found?





    Install i386 version explicitly



    I thought since it's a folder labeled x86_64 this might not be compatible to that 32bit game. So I installed the 32bit version explicitly. (Following that stackoverflow answer.)



    me@mypc:~/Machinarium$ sudo apt install libxtst6:i386
    libxtst6:i386 already is the newest version (2:1.2.3-1).


    (translation by me. This is one line of what the very shord answer by apt says.)





    Requirements check -> not found



    I checked the requirements for the binary: (I only give you the important line of the output and ignore any other line, if you really need the rest I wonder what for. Just tell me in the comments if needed!)



    me@mypc:~/Machinarium$ ldd Machinarium
    libXt.so.6 => not found




    Question




    • Why doesn't the binary find the shared library?

    • How to fix that?










    share|improve this question



























      1












      1








      1








      Starting binary -> can't open shared library



      I want to start a binary:



      $ my@mypc:~/Machinarium$ ./Machinarium
      ./Machinarium: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory


      e here



      (Same happens when I try to start it via linux32 ./Machinarium. It is a 32bit linux binary and I have a 64bit machine. Same with sudo.)





      Locating the library (it exists)



      I tried to locate it: (fourth line from the bottom is the important one)



      me@mypc:~/Machinarium$ locate libXt
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXt.so.6
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXtst.so.6
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXt.so.6
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXt.so.6.0.0
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXtst.so.6
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXtst.so.6.1.0
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libXt.so.6
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libXtst.so.6
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libXt.so.6
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libXt.so.6.0.0
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libXtst.so.6
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libXtst.so.6.1.0
      /usr/lib/x86_64-linux-gnu/libXt.a
      /usr/lib/x86_64-linux-gnu/libXt.so
      /usr/lib/x86_64-linux-gnu/libXt.so.6
      /usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
      /usr/lib/x86_64-linux-gnu/libXtst.so.6
      /usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0


      So what happened? It's clearly there. Why can't it be found?





      Install i386 version explicitly



      I thought since it's a folder labeled x86_64 this might not be compatible to that 32bit game. So I installed the 32bit version explicitly. (Following that stackoverflow answer.)



      me@mypc:~/Machinarium$ sudo apt install libxtst6:i386
      libxtst6:i386 already is the newest version (2:1.2.3-1).


      (translation by me. This is one line of what the very shord answer by apt says.)





      Requirements check -> not found



      I checked the requirements for the binary: (I only give you the important line of the output and ignore any other line, if you really need the rest I wonder what for. Just tell me in the comments if needed!)



      me@mypc:~/Machinarium$ ldd Machinarium
      libXt.so.6 => not found




      Question




      • Why doesn't the binary find the shared library?

      • How to fix that?










      share|improve this question
















      Starting binary -> can't open shared library



      I want to start a binary:



      $ my@mypc:~/Machinarium$ ./Machinarium
      ./Machinarium: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory


      e here



      (Same happens when I try to start it via linux32 ./Machinarium. It is a 32bit linux binary and I have a 64bit machine. Same with sudo.)





      Locating the library (it exists)



      I tried to locate it: (fourth line from the bottom is the important one)



      me@mypc:~/Machinarium$ locate libXt
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXt.so.6
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXtst.so.6
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXt.so.6
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXt.so.6.0.0
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXtst.so.6
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXtst.so.6.1.0
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libXt.so.6
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libXtst.so.6
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libXt.so.6
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libXt.so.6.0.0
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libXtst.so.6
      /home/me/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libXtst.so.6.1.0
      /usr/lib/x86_64-linux-gnu/libXt.a
      /usr/lib/x86_64-linux-gnu/libXt.so
      /usr/lib/x86_64-linux-gnu/libXt.so.6
      /usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
      /usr/lib/x86_64-linux-gnu/libXtst.so.6
      /usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0


      So what happened? It's clearly there. Why can't it be found?





      Install i386 version explicitly



      I thought since it's a folder labeled x86_64 this might not be compatible to that 32bit game. So I installed the 32bit version explicitly. (Following that stackoverflow answer.)



      me@mypc:~/Machinarium$ sudo apt install libxtst6:i386
      libxtst6:i386 already is the newest version (2:1.2.3-1).


      (translation by me. This is one line of what the very shord answer by apt says.)





      Requirements check -> not found



      I checked the requirements for the binary: (I only give you the important line of the output and ignore any other line, if you really need the rest I wonder what for. Just tell me in the comments if needed!)



      me@mypc:~/Machinarium$ ldd Machinarium
      libXt.so.6 => not found




      Question




      • Why doesn't the binary find the shared library?

      • How to fix that?







      games shared-library






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 13 at 15:18







      Asqiir

















      asked Jan 13 at 15:11









      AsqiirAsqiir

      205212




      205212






















          1 Answer
          1






          active

          oldest

          votes


















          1














          According to the search on https://packages.ubuntu.com the libXt.so.6 is located in libxt6 package.



          You can install it with



          sudo apt install libxt6:i386


          for 32-bit.






          share|improve this answer



















          • 1





            I never thought it could be that simple… Thank you! I'll accept your answer as soon as I can

            – Asqiir
            Jan 13 at 15:21











          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',
          autoActivateHeartbeat: false,
          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
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1109393%2fcant-load-shared-library-libxt-so-6-although-it-can-be-located%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









          1














          According to the search on https://packages.ubuntu.com the libXt.so.6 is located in libxt6 package.



          You can install it with



          sudo apt install libxt6:i386


          for 32-bit.






          share|improve this answer



















          • 1





            I never thought it could be that simple… Thank you! I'll accept your answer as soon as I can

            – Asqiir
            Jan 13 at 15:21
















          1














          According to the search on https://packages.ubuntu.com the libXt.so.6 is located in libxt6 package.



          You can install it with



          sudo apt install libxt6:i386


          for 32-bit.






          share|improve this answer



















          • 1





            I never thought it could be that simple… Thank you! I'll accept your answer as soon as I can

            – Asqiir
            Jan 13 at 15:21














          1












          1








          1







          According to the search on https://packages.ubuntu.com the libXt.so.6 is located in libxt6 package.



          You can install it with



          sudo apt install libxt6:i386


          for 32-bit.






          share|improve this answer













          According to the search on https://packages.ubuntu.com the libXt.so.6 is located in libxt6 package.



          You can install it with



          sudo apt install libxt6:i386


          for 32-bit.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 13 at 15:17









          N0rbertN0rbert

          22.3k648106




          22.3k648106








          • 1





            I never thought it could be that simple… Thank you! I'll accept your answer as soon as I can

            – Asqiir
            Jan 13 at 15:21














          • 1





            I never thought it could be that simple… Thank you! I'll accept your answer as soon as I can

            – Asqiir
            Jan 13 at 15:21








          1




          1





          I never thought it could be that simple… Thank you! I'll accept your answer as soon as I can

          – Asqiir
          Jan 13 at 15:21





          I never thought it could be that simple… Thank you! I'll accept your answer as soon as I can

          – Asqiir
          Jan 13 at 15:21


















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1109393%2fcant-load-shared-library-libxt-so-6-although-it-can-be-located%23new-answer', 'question_page');
          }
          );

          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







          Popular posts from this blog

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

           ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕