Announcement

Collapse
No announcement yet.

Need libwebkitgtk-3.0.so to run TPFMM

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need libwebkitgtk-3.0.so to run TPFMM

    I need this to run Transport Fever Mod Manager. Only version 2 and 4 are in the repository. muon can't find the needed package.
    Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

    http://www.kubuntu.org/getkubuntu

    #2
    A quick web search pointed to the package being available in the LTS release (18.04). You can try to directly install the package. https://ubuntu.pkgs.org/18.04/ubuntu...amd64.deb.html
    By the way...I play TPF quite regularly! Is the mod manager worth setting up? What does it do over the standard way the game handles mods?
    ​"Keep it between the ditches"
    K*Digest Blog
    K*Digest on Twitter

    Comment


      #3
      Originally posted by dequire View Post
      A quick web search pointed to the package being available in the LTS release (18.04). You can try to directly install the package. https://ubuntu.pkgs.org/18.04/ubuntu...amd64.deb.html
      By the way...I play TPF quite regularly! Is the mod manager worth setting up? What does it do over the standard way the game handles mods?
      It lets you quickly and easily install both mods from the steam workshop or https://www.transportfever.net . It's a german site but I just use google translate. TPFMM web download instructions are also in English as well as German, so it not as difficult for English speakers. Don't forget you can use gooogle translate. TPFMM also lets you sort your mods and quickley find broken mods and unsubscribe or even goto the mods steam workshop or transportfever.net page. It lets you see the discription of the mod.It gets updated every now and then so new features get added and bugs squashed. Best mod manager I have seen for any game. So far nobody even comes close to how nice it makes TpF modding work! Its easy to set up but might need one or two dependences. It uses ark but once extracted it runs directly from a file in the tpfmm folder.

      If you run from a konsel you can see the needed depdancey issue. I am guessing it's a KDE desktop issue.

      https://www.transportfever.net/fileb...85-TPFMM-Beta/

      I just tried to manualy install webkitgtk 3 but it the qapt-deb-installer could not satisfie dependancys. If the package were added to the 19.04 repo then it wouldn't be such a pain.
      Last edited by steve7233; Apr 22, 2019, 11:48 AM.
      Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

      http://www.kubuntu.org/getkubuntu

      Comment


        #4
        try downloading the package and manually installing it:

        sudo dpkg -i --force-all libwebkitgtk-3.0-0_2.4.11-4_amd64.deb

        This will ignore the dependencies and force it to install.
        Of course, if it needs more than just this one file, you may be out of luck until the developers rebuild against newer libraries.

        I don't know if the libwebkit2gtk (that -4 version) is a direct replacement for libwebkitgtk-3, so I am not sure if just creating a symlink pointing at the -4 version will work.

        Comment


          #5
          Originally posted by claydoh View Post
          try downloading the package and manually installing it:

          sudo dpkg -i --force-all libwebkitgtk-3.0-0_2.4.11-4_amd64.deb

          This will ignore the dependencies and force it to install.
          Of course, if it needs more than just this one file, you may be out of luck until the developers rebuild against newer libraries.

          I don't know if the libwebkit2gtk (that -4 version) is a direct replacement for libwebkitgtk-3, so I am not sure if just creating a symlink pointing at the -4 version will work.
          Code:
          steve7233@steve7233-Z68XP-UD3:~$ sudo dpkg -i --force-all libwebkitgtk-3.0-0_2.4.11-4_amd64.deb
          [sudo] password for steve7233: 
          dpkg: error: cannot access archive 'libwebkitgtk-3.0-0_2.4.11-4_amd64.deb': No such file or directory
          steve7233@steve7233-Z68XP-UD3:~$
          Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

          http://www.kubuntu.org/getkubuntu

          Comment


            #6
            Did you change into the directory where the downloaded file is at?
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Anyway, having this package will likely cause apt issues whenever you update, so it will end up causing more harm than help, in the long run.

              Comment


                #8
                libwebkit2gtk-4.0-37 looks to be the replacement for libwebkitgtk-3, but as the game is hard coded to need the latter, it is probably best to try making a link called libwebkitgtk-3.0.so that points to the new one, libwebkit2gtk-4.0.so.37

                Luckily this won't break anything, and should survive any potential updates for at least a little while. If it does not work, it is easy to delete, and as a link, won't hurt anything if it stays.
                Uninstall the libwebkitgtk-3.0-0 package if you installed it
                Make sure you have libwebkit2gtk-4.0-37 installed, it should already be there, I think.

                Code:
                sudo ln -s /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37 /usr/lib/x86_64-linux-gnu/libwebkitgtk-3.0.so
                No idea if this will work. As I mentioned, if there are still missing libraries, it might not be worth the hacking involved.
                Might have to see if there is something GOG or the game creators might be able to fix, or know what to do to make it run on 19.04.Prob not too likely as they only support 16.04 and 18.04
                Last edited by claydoh; Apr 23, 2019, 04:59 PM.

                Comment


                  #9
                  I relized I needed to tell it where to find the package and had to try to figure out the syntax but it only took two tries then it ran. When I trie to run TPFMM nothing happens. I ran it in a konsel and got:

                  Code:
                  /steam/steamapps/common/Transport Fever/TPFMM/TPFMM: error while loading shared libraries: libjavascriptcoregtk-3.0.so.0: cannot open shared object file: No such file or directory
                  Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

                  http://www.kubuntu.org/getkubuntu

                  Comment


                    #10
                    I have been running TPFMM then searching for needed dependencies then manually installing them then Running TPFMM in a konsel to see what else it needs. I cannot find libicui18n.so.60. Can someone point me to where I can download it? Thanks.
                    Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

                    http://www.kubuntu.org/getkubuntu

                    Comment


                      #11
                      Package libicu60 contains the file you need. See if it's installable.
                      Windows no longer obstructs my view.
                      Using Kubuntu Linux since March 23, 2007.
                      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                      Comment


                        #12
                        You could search for packages that contain the needed file on packages.ubuntu.com
                        You'd have to force-install all of them, and I think there will be MANY

                        :::HOWEVER
                        :::

                        EVERY TIME
                        you try to update, it will want to upgrade you to whatever replacement is now in Disco.
                        Yes, you could pin them , either manually or via Synaptic or Muon, but it will mess anything you already have that needs the newer files, and will prevent you from installing anything that needs these newer libraries.
                        So I won't help do that.


                        But as you use steam, have you considered using SteamPlay or wine to run the Windows version, perhaps
                        here's one option, which uses Steam's Proton:
                        https://www.reddit.com/r/SteamPlay/c..._using_proton/

                        I have not used this myself


                        This will take a bit of work no matter what, unfortunately, and probably will require outside expertise

                        Comment


                          #13
                          I just now tried today's update and noticed that Libwebkitgtk3 had been added back in the repos. Unfortunately when running TPFMM I still get:
                          Code:
                          /steam/steamapps/common/Transport Fever/TPFMM/TPFMM: error while loading shared libraries: libwebkitgtk-3.0.so.0: cannot open shared object file: No such file or directory
                          Could the package have been wrong? Since mouon doesn't tell me when I need to reboot then I rebooted and tried to run TPFMM again. I still get the same error message when running in a konsel.
                          Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

                          http://www.kubuntu.org/getkubuntu

                          Comment


                            #14
                            I just now tried today's update and noticed that Libwebkitgtk3 had been added back in the repos.
                            How did you determine that? I don't see it anywhere.

                            Comment


                              #15
                              Originally posted by claydoh View Post
                              How did you determine that? I don't see it anywhere.
                              I saw there was an update. I launched muon and clicked check for updates. I Clicked upgrade. webkitgtk3 was in the updates list. I clicked apply. I entered my password. The package doesn't seem to make a needed directory.
                              Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

                              http://www.kubuntu.org/getkubuntu

                              Comment

                              Working...
                              X