LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Unable to load supertuxkart game anymore (https://www.linuxquestions.org/questions/ubuntu-63/unable-to-load-supertuxkart-game-anymore-4175657451/)

Slakerlife 07-15-2019 08:09 PM

Unable to load supertuxkart game anymore
 
Hello

Up to yesterday my grandpa was able to play SuperTuxKart with no problems for months, but not anymore, no updates have been installed as the computer never connects to the internet. I could like to fix the issue without requiring to connect to the internet or from reloading the game so Im hoping someone can help me. I'm running Ubuntu 18.04.2 LTS 64bit.

frankbell 07-15-2019 08:16 PM

Try starting it from the command line and note any error messages that it throws. Post them here, being sure to surround any terminal output with "code" tags which become available when you click the "Go Advanced" button beneath the compose post window.

Slakerlife 07-15-2019 08:33 PM

Quote:

Originally Posted by frankbell (Post 6015387)
Try starting it from the command line and note any error messages that it throws. Post them here, being sure to surround any terminal output with "code" tags which become available when you click the "Go Advanced" button beneath the compose post window.

Thanks for the quick reply

Code:

dell@Latitude:~$ supertuxkart
ln: failed to create symbolic link '/home/dell/snap/supertuxkart/63/openh264/libopenh264.so.3': File exists
ln: failed to create symbolic link '/home/dell/snap/supertuxkart/63/openh264/libopenh264.so.4': File exists
/snap/supertuxkart/63/usr/bin/supertuxkart: error while loading shared libraries: libopenh264.so.4: cannot open shared object file: No such file or directory


frankbell 07-15-2019 09:05 PM

This is curious.

If I read it right, it's telling you that the files exist, but it cannot load one of them. The next thing I'd do is look for those files to verify the error messages and check their permissions to make sure they haven't gotten hinky; it's a long shot, but at this point I can't think of anything else.

As an aside, I have no experience with snaps. I know what they are, but they interest me not in the least at this stage.

Slakerlife 07-15-2019 09:50 PM

Quote:

Originally Posted by frankbell (Post 6015396)
This is curious.

If I read it right, it's telling you that the files exist, but it cannot load one of them. The next thing I'd do is look for those files to verify the error messages and check their permissions to make sure they haven't gotten hinky; it's a long shot, but at this point I can't think of anything else.

Code:

dell@Latitude:~/snap/supertuxkart/63/openh262$ ls -a -l
total of 8
drwxrwxr-x 2 dell dell 4096 Jul 13 06:01 .
drwxr-xr-x 5 dell dell 4096 Jul 13 06:01 ..
lrwxrwxrwx 1 dell dell  14 Jul 13 06:01 libopenh264.so.3 -> libopenh264.so
lrwxrwxrwx 1 dell dell  14 Jul 13 06:01 libopenh264.so.4 -> libopenh264.so

Do not know if the permissions are right.

I could not find the libopenh264.so.4 file in /snap/supertuxkart/63/usr/bin/supertuxkart

frankbell 07-15-2019 10:06 PM

The permissions look okay. They pretty much allow anyone to do anything, so they are preventing access to the libraries.

The missing file is definitely an issue. Again, not knowing anything about snaps, all I can come up with is to try removing the snap and reinstalling it. Or, in my opinion preferably, removing the snap and seeing whether you can reinstall the program from the standard repos. Supertuxkart has been around a long time and should be in the repos.

I wish I could come up with something else; maybe someone more knowledgeable than I will join this thread.

Good luck.

mark_alfred 08-20-2019 09:01 PM

Maybe this site will be of help: https://stackoverflow.com/questions/...-no-s#21173918

ondoho 08-21-2019 12:21 AM

That's Ubuntu's idiotic software center prioritizing snaps :rolleyes:
Try removing the snap (the version that is currently installed) and install the version from the ubuntu repos.
Code:

apt update
apt upgrade
apt install supertuxkart

There's no reason to not use the apt version for a game like supertuxkart; it's been stable and playable for years.


All times are GMT -5. The time now is 10:36 PM.