[Solved] Cannot get v1.77.1 to run in Linux
Moderators: winston, another_commander, Getafix
[Solved] Cannot get v1.77.1 to run in Linux
I've tried system-wide & home-directory installations, but I get the same error:
error while loading shared libraries: libSDL_mixer-1.2.so.0: cannot open shared object file: No such file or directory
Anyone know how to fix this?
Thanks in advance!
error while loading shared libraries: libSDL_mixer-1.2.so.0: cannot open shared object file: No such file or directory
Anyone know how to fix this?
Thanks in advance!
Last edited by Getafix on Sun Feb 16, 2014 11:12 pm, edited 1 time in total.
Reason: Mark as "Solved".
Reason: Mark as "Solved".
Cannot get version 1.77.1 to run in Linux
Whenever I try to run, I get a message:
Then the process hangs and does nothing. I've tried applying the defaults command suggested, but no go. Anyone know how to fix this?It seems that your operating system does not have a valid timezone name
configured and is using an abbreviation instead. By comparing timezone
file data it is has been possible to find the actual timezone used, but
doing that is a slow process.
You can avoid slowness of this time zone detecting approach
by setting the environment variable TZ='SystemV/CST6CDT'
Or You can override the timezone name by setting the 'Local Time Zone'
NSUserDefault via the 'defaults' command line utility, a Preferences
application, or some other utility.
eg "defaults write NSGlobalDomain 'Local Time Zone' 'SystemV/CST6CDT'"
-
- Quite Grand Sub-Admiral
- Posts: 6682
- Joined: Wed Feb 28, 2007 7:54 am
Re: Cannot get v1.77.1 to run in Linux
I have combined the two posts that were waiting for approval into one topic and moved it to the area dedicated to Oolite for Linux discussions.
Hopefully a Linux guru will be with us soon to assist with the issue.
Hopefully a Linux guru will be with us soon to assist with the issue.
Re: Cannot get v1.77.1 to run in Linux
The first one needs the SDL mixer package installed - on Debian/Ubuntu this is libsdl-mixer1.2. For the second one try running tzconfig as root. If that doesn't work, what's in the files /etc/timezone and /etc/localtime?
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Cannot get v1.77.1 to run in Linux
G'day Krenn, and welcome aboard!
Could you also tell us which distro & version of Linux you are running, please?
Could you also tell us which distro & version of Linux you are running, please?
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
Re: Cannot get v1.77.1 to run in Linux
I was able to locate the missing files (there were a total of 4), and when I moved them to the /lib/x86_64-linux-gnu folder the error meesages went away. That's when I got the error in my second post. Running tz config as root didn't fix it. /etc/timezone says America/Rainy River. /etc/localtime is full of special characters I cannot interpret with gedit. Same thing happens with v1.76.1. When I download v1.75.3 from the Ubuntu software app, it runs fine but has no update function in it.kanthoney wrote:The first one needs the SDL mixer package installed - on Debian/Ubuntu this is libsdl-mixer1.2. For the second one try running tzconfig as root. If that doesn't work, what's in the files /etc/timezone and /etc/localtime?
I'm running Ubuntu Linux 12.04 LTS.
Hello to Diziet Sma and thanks to you both!
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Cannot get v1.77.1 to run in Linux
Umm.. I really, really hope you meant to say "when I copied them".. if you did actually move them, please be sure to put a copy back where you found them in the original locations!Krenn wrote:I was able to locate the missing files (there were a total of 4), and when I moved them to the /lib/x86_64-linux-gnu folder the error meesages went away.
Ok.. at least you're not running something exotic then, like ArchLinux or Gentoo..Krenn wrote:Running tz config as root didn't fix it. /etc/timezone says America/Rainy River. /etc/localtime is full of special characters I cannot interpret with gedit. Same thing happens with v1.76.1. When I download v1.75.3 from the Ubuntu software app, it runs fine but has no update function in it.
I'm running Ubuntu Linux 12.04 LTS.
(Oolite -especially with OXPs- on Arch is a whole 'nother ball of wax! )
The 'special characters' are because the
/etc/localtime
file is compiled into a special binary format.. so unfortunately it can't be edited with a standard text-editor.Edit: try Kanthoney's fix below, first..
Let's try a trick I've 'borrowed' from my ArchLinux installation, and try an end-run around the problem.
We'll rename the existing
/etc/localtime
file to /etc/localtime.orig
so that it can always be reverted to if necessary, then make a symbolic link (named localtime
) to the master timezone file in /usr/share/zoneinfo/America/Rainy_River
Enter or copy/paste the following lines, one at a time, into a terminal:
Code: Select all
cd /etc
sudo mv localtime localtime.orig
sudo ln -s /usr/share/zoneinfo/America/Rainy_River localtime
Last edited by Diziet Sma on Mon Feb 10, 2014 9:17 am, edited 1 time in total.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
Re: Cannot get v1.77.1 to run in Linux
Try America/Rainy_River, with an underscore instead of a space.Krenn wrote:/etc/timezone says America/Rainy River
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Cannot get v1.77.1 to run in Linux
Well spotted! I looked right at that, and missed it!
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
Re: Cannot get v1.77.1 to run in Linux
OK, I've been a bit busy so I haven't had time to work on this until tonight. I booted & started the game, and it appears to be working fine now. The last thing I did was run the process that Terminal said to use when I tried to run tzconfig, but I never rebooted after doing that. I gues that's what was needed...
Weird...
Thanks again to you both for your help!
Oh, and when I said 'moved', I did mean 'copied'
Weird...
Thanks again to you both for your help!
Oh, and when I said 'moved', I did mean 'copied'