Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Please test the
current GAE version!
Home
Search
Login
Register
Glest
>
General
>
Linux and other ports
>
Glest 3.2.2 for Linux
Pages: [
1
]
2
« previous
next »
Print
Author
Topic: Glest 3.2.2 for Linux (Read 24287 times)
titi
Board Administer
Airship
Posts: 2064
Glest 3.2.2 for Linux
«
on:
April 03, 2009, 03:54:45 PM »
Download
binaries
and
data
. ( !! If the game works modify file glest.ini to setup a better display resolution! !!)
The sourcecode is also available, but we recommend the official binaries, compiled by me:
http://downloads.sourceforge.net/glest/glest_source_3.2.2.zip
( official source code package )
or
http://www.titusgames.de/glest-source-3.2.1.tar.bz2
repackaged source tarball ( with right version string (by titi))
The official binary was compiled on an old ubuntu 6.06 to be as comptible as possible (glibc 2.38).
Hint
: If you have a very up to date debian/ubuntu system, you might get in trouble with
libopenal.so.0 which is not available on these systems. Try this workaround:
Code:
ln -s /usr/lib/libopenal.so.1 <PathToGlestInstallation>/lib/libopenal.so.0
Linux 32-bit installer:
http://glest.org/glest_board/index.php?topic=3031.0
«
Last Edit: July 05, 2010, 04:52:22 PM by -Archmage-
»
Logged
Try Megaglest!
Improved Engine / New factions / New tilesets / New maps / New scenarios
Platyhelminth
Guard
Posts: 77
lol
Re: Glest 3.2.2 for Linux
«
Reply #1 on:
July 19, 2009, 04:54:36 AM »
If you are a x86_64 user with Ubuntu (or debian), you have to use ia32-libs and getlibs to make this "official" binary work.
For ia32-libs you have to enter this command (or something like this):
Code:
sudo apt-get install ia32-libs
For getlibs, you have to install getlibs from this package :
http://frozenfox.freehostia.com/cappy/getlibs-all.deb
. Getlibs role is to get 32bit dependencies, after it has been installed you have to enter a command like this:
Code:
getlibs <PathToGlestInstallation>/glest.bin
For trouble with libopenal.so.0 the command is like:
Code:
ln -s /usr/lib32/libopenal.so.1 <PathToGlestInstallation>/lib/libopenal.so.0
If you dont already have a 32bit libopenal then you have to enter this command before:
Code:
getlibs -l libopenal.so.1
Why doing this when it is much more easyer to directly use a 64bit binary ? ? ?
_ because this game has some problemes in multiplayer, it only works if every body use the same binary. It is a shame, but if you want to play in multiplayer you have to use this 32bit binary.
You want to play with windows users with wine by using windows binary ?
_ forgive it. It doesn't work for multiplayer.
«
Last Edit: August 15, 2009, 10:52:08 PM by Platyhelminth
»
Logged
Some other interesting games :
http://rigsofrods.com/
http://padworld.myexp.de/index.php?news
http://springrts.com
-Archmage-
Moderator
Airship
Posts: 4620
GC - Special Forces
Re: Glest 3.2.2 for Linux
«
Reply #2 on:
October 24, 2009, 02:34:23 PM »
I'd like to make an installer for 32 and 64 bit machines.
32-bit first.
«
Last Edit: October 24, 2009, 02:37:53 PM by -Archmage-
»
Logged
Hey there bot! Got my crosshairs on your head, step away slowly and say your prayers.......
-Archmage-
Moderator
Airship
Posts: 4620
GC - Special Forces
Re: Glest 3.2.2 for Linux
«
Reply #3 on:
October 24, 2009, 04:37:20 PM »
Put together a package based on the Download links you posted Titi.
Get it
here
Please tell me if I'm missing anything, or if something is not supposed to be in there.
Logged
Hey there bot! Got my crosshairs on your head, step away slowly and say your prayers.......
sg1efc
Initiate
Posts: 4
Re: Glest 3.2.2 for Linux
«
Reply #4 on:
October 24, 2009, 08:45:38 PM »
Quote from: -Archmage- on October 24, 2009, 04:37:20 PM
Put together a package based on the Download links you posted Titi.
Get it
here
Please tell me if I'm missing anything, or if something is not supposed to be in there.
Thank you very much for this Archmage.
Looking forward to trying this next week when I do a fresh install with Ubuntu 9.10. When I installed some mods in 3.2.1, I somehow broke Glest & even after completely uninstalled and reinstalled a few times, still can't get the game maps to load to play a game, Lots of laughs.
Logged
-Archmage-
Moderator
Airship
Posts: 4620
GC - Special Forces
Re: Glest 3.2.2 for Linux
«
Reply #5 on:
October 24, 2009, 09:59:40 PM »
Those are just the files, I'm going to make an installer, after I get a reply.
My Linux computer is down so I don't know if that's correct because I can't test it.
Also, why plain Ubuntu, try Kubuntu, it's awesome.
( update by titi: I removed you ubuntu discussion here because its completly offtopic in this topic )
«
Last Edit: October 25, 2009, 06:39:10 PM by titi
»
Logged
Hey there bot! Got my crosshairs on your head, step away slowly and say your prayers.......
-Archmage-
Moderator
Airship
Posts: 4620
GC - Special Forces
Re: Glest 3.2.2 for Linux
«
Reply #6 on:
November 04, 2009, 02:48:46 PM »
Alternative way to download the latest Glest:
Go into Synaptic, type "glest" in the quick search box, select the glest 3.2.1 data and then 3.2.2 source for installation, click "apply".
Glest is playable although the data package is complete so download the glest linux data, and put it in "/usr/share/games/", then navigate to "usr/share/games" and make sure the glest data is named "glest", and also make sure that it is complete.
Logged
Hey there bot! Got my crosshairs on your head, step away slowly and say your prayers.......
-Archmage-
Moderator
Airship
Posts: 4620
GC - Special Forces
Re: Glest 3.2.2 for Linux
«
Reply #7 on:
November 07, 2009, 01:51:24 AM »
Error Report:
Code:
./glest.bin: error while loading shared libraries: libxerces-c.so.27: cannot open shared object file: No such file or directory
Does anybody have a solution to this problem?
Logged
Hey there bot! Got my crosshairs on your head, step away slowly and say your prayers.......
-Archmage-
Moderator
Airship
Posts: 4620
GC - Special Forces
Re: Glest 3.2.2 for Linux
«
Reply #8 on:
November 10, 2009, 09:49:40 PM »
New error:
Code:
seth@Kelley-2008:~/Programs/LinuxGlest/Glest_3.2.2$ ./glest.bin
./glest.bin: symbol lookup error: ./glest.bin: undefined symbol: _ZN11xercesc_2_76XMLUni22fgXercescDefaultLocaleE
Logged
Hey there bot! Got my crosshairs on your head, step away slowly and say your prayers.......
titi
Board Administer
Airship
Posts: 2064
Re: Glest 3.2.2 for Linux
«
Reply #9 on:
November 11, 2009, 08:15:52 AM »
start ./glest instead of ./glest.bin
Logged
Try Megaglest!
Improved Engine / New factions / New tilesets / New maps / New scenarios
-Archmage-
Moderator
Airship
Posts: 4620
GC - Special Forces
Re: Glest 3.2.2 for Linux
«
Reply #10 on:
November 11, 2009, 09:47:46 AM »
What does that do?
Just tried it, doesn't seem to do anything...
Logged
Hey there bot! Got my crosshairs on your head, step away slowly and say your prayers.......
Yggdrasil
GAE Team
Horseman
Posts: 179
Re: Glest 3.2.2 for Linux
«
Reply #11 on:
November 11, 2009, 11:20:59 AM »
It uses the libraries in the subfolder lib, when they are not in your system. You probably made a symlink to your system libxerces, which is incompatible. Remove the symlink and try again ./glest.
Logged
-Archmage-
Moderator
Airship
Posts: 4620
GC - Special Forces
Re: Glest 3.2.2 for Linux
«
Reply #12 on:
November 11, 2009, 11:24:15 AM »
How do I remove a symlink?
Logged
Hey there bot! Got my crosshairs on your head, step away slowly and say your prayers.......
Yggdrasil
GAE Team
Horseman
Posts: 179
Re: Glest 3.2.2 for Linux
«
Reply #13 on:
November 11, 2009, 11:31:10 AM »
Just delete it.
What have you done between reply #7 and #8?
Please run:
Code:
$ ls -l /usr/lib | grep xerces
and post output.
Logged
-Archmage-
Moderator
Airship
Posts: 4620
GC - Special Forces
Re: Glest 3.2.2 for Linux
«
Reply #14 on:
November 11, 2009, 11:38:30 AM »
Quote
What have you done between reply #7 and #8?
Tried running the glest binary, I did tons of stuff, but I don't have that terminal window open anymore, and I can't really remember what I did.
Output:
Code:
seth@Kelley-2008:~$ ls -l /usr/lib | grep xerces
drwxr-xr-x 2 root root 4096 2009-11-10 21:32 libxerces28
-rw-r--r-- 1 root root 3796888 2009-08-24 11:28 libxerces-c-3.0.so
lrwxrwxrwx 1 root root 17 2009-11-10 21:32 libxerces-c.so -> libxerces-c.so.28
lrwxrwxrwx 1 root root 19 2009-11-01 14:25 libxerces-c.so.28 -> libxerces-c.so.28.0
-rw-r--r-- 1 root root 4006344 2009-08-26 17:38 libxerces-c.so.28.0
lrwxrwxrwx 1 root root 22 2009-11-10 21:32 libxerces-depdom.so -> libxerces-depdom.so.28
lrwxrwxrwx 1 root root 24 2009-11-01 14:25 libxerces-depdom.so.28 -> libxerces-depdom.so.28.0
-rw-r--r-- 1 root root 461504 2009-08-26 17:38 libxerces-depdom.so.28.0
Logged
Hey there bot! Got my crosshairs on your head, step away slowly and say your prayers.......
Yggdrasil
GAE Team
Horseman
Posts: 179
Re: Glest 3.2.2 for Linux
«
Reply #15 on:
November 11, 2009, 11:50:54 AM »
Looks fine. Is there any entry in glest.log after running ./glest?
Logged
-Archmage-
Moderator
Airship
Posts: 4620
GC - Special Forces
Re: Glest 3.2.2 for Linux
«
Reply #16 on:
November 11, 2009, 11:51:46 AM »
Checking...
Done.
Code:
./glest.bin: error while loading shared libraries: ./lib/libstdc++.so.6: file too short
My first attempt to fix this would probably be a getlibs command or something of the sorts.
Edit: Would this work?:
Code:
getlibs -l libstdc++.so.6
«
Last Edit: November 11, 2009, 11:56:39 AM by -Archmage-
»
Logged
Hey there bot! Got my crosshairs on your head, step away slowly and say your prayers.......
Yggdrasil
GAE Team
Horseman
Posts: 179
Re: Glest 3.2.2 for Linux
«
Reply #17 on:
November 11, 2009, 12:07:50 PM »
Oh, you use 64bit linux. I never used 64bit linux, so i can't help you with that.
You could try getlibs, but i think you have it already in /usr/lib32.
Just a thought:
Code:
$ LD_LIBRARY_PATH=/usr/lib32:./lib ./glest.bin
Logged
-Archmage-
Moderator
Airship
Posts: 4620
GC - Special Forces
Re: Glest 3.2.2 for Linux
«
Reply #18 on:
November 11, 2009, 12:12:29 PM »
Just tried:
$ LD_LIBRARY_PATH=/usr/lib32:./lib ./glest.bin
I still get:
Code:
./glest.bin: symbol lookup error: ./glest.bin: undefined symbol: _ZN11xercesc_2_76XMLUni22fgXercescDefaultLocaleE
Trying my getlibs thing....
Done, result:
Code:
seth@Kelley-2008:~/Programs/LinuxGlest/Glest_3.2.2$ getlibs -l libstdc++.so.6
libstdc++.so.6: ppu-g++
The following i386 packages will be installed:
ppu-g++
Continue [Y/n]? y
Downloading ...
Installing libraries ...
seth@Kelley-2008:~/Programs/LinuxGlest/Glest_3.2.2$
Logged
Hey there bot! Got my crosshairs on your head, step away slowly and say your prayers.......
-Archmage-
Moderator
Airship
Posts: 4620
GC - Special Forces
Re: Glest 3.2.2 for Linux
«
Reply #19 on:
November 11, 2009, 12:14:17 PM »
I still have the symlink problem...
How do I delete it?
I really don't know anything about symlinks...
Logged
Hey there bot! Got my crosshairs on your head, step away slowly and say your prayers.......
Yggdrasil
GAE Team
Horseman
Posts: 179
Re: Glest 3.2.2 for Linux
«
Reply #20 on:
November 11, 2009, 12:32:57 PM »
It's not a symlink. I thought you made one for libxerces. The used libraries are incompatible.
Have you tried what Platyhelminth said in the second post?
Just thoughts, because i'm not familiar with this 64bit-32bit-problems.
Code:
$ getlibs -l libxerces-c28
$ ls -l /usr/lib32 | grep xerces
Only proceed, if there is libxerces-c.so.28.
Code:
$ mv lib/libxerces-c.so.27 lib/libxerces-c.so.27_renamed
$ ln -s /usr/lib32/libxerces-c.so.28 lib/libxerces-c.so.27
$ ./glest
Logged
titi
Board Administer
Airship
Posts: 2064
Re: Glest 3.2.2 for Linux
«
Reply #21 on:
November 11, 2009, 03:00:23 PM »
Why don't you simply use the installer from
www.liflg.org?
They have a 64 bit version.
Logged
Try Megaglest!
Improved Engine / New factions / New tilesets / New maps / New scenarios
-Archmage-
Moderator
Airship
Posts: 4620
GC - Special Forces
Re: Glest 3.2.2 for Linux
«
Reply #22 on:
November 12, 2009, 08:48:19 AM »
Because that starts all over with the libxerces problem.
Logged
Hey there bot! Got my crosshairs on your head, step away slowly and say your prayers.......
-Archmage-
Moderator
Airship
Posts: 4620
GC - Special Forces
Re: Glest 3.2.2 for Linux
«
Reply #23 on:
November 24, 2009, 06:00:37 PM »
Can someone compile on (K)Ubuntu 9.10 with libxerces-c.so.28?
Yggdrasil, I don't know if I tried what you posted, trying now......
This command:
Code:
getlibs -l libxerces-c28
Did this:
Code:
seth@Kelley-2008:~/Programs/LinuxGlest$ getlibs -l libxerces-c28
libxerces-c28: libxerces-c28
The following i386 packages will be installed:
libxerces-c28
Continue [Y/n]? y
Downloading ...
Installing libraries ...
[sudo] password for seth:
seth@Kelley-2008:~/Programs/LinuxGlest$
This command:
Code:
ls -l /usr/lib32 | grep xerces
Did this:
Code:
seth@Kelley-2008:~/Programs/LinuxGlest$ ls -l /usr/lib32 | grep xerces
-rw-r--r-- 1 root root 9335228 2009-11-07 01:42 libxerces-c.a
-rw-r--r-- 1 root root 877 2009-11-07 01:42 libxerces-c.la
lrwxrwxrwx 1 root root 18 2009-11-07 01:42 libxerces-c.so -> libxerces-c-3.0.so
lrwxrwxrwx 1 root root 19 2009-11-10 21:26 libxerces-c.so.27 -> libxerces-c.so.28.0
lrwxrwxrwx 1 root root 19 2009-11-24 18:04 libxerces-c.so.28 -> libxerces-c.so.28.0
-rw-r--r-- 1 root root 3881496 2009-11-24 18:04 libxerces-c.so.28.0
lrwxrwxrwx 1 root root 24 2009-11-24 18:04 libxerces-depdom.so.28 -> libxerces-depdom.so.28.0
-rw-r--r-- 1 root root 440024 2009-11-24 18:04 libxerces-depdom.so.28.0
seth@Kelley-2008:~/Programs/LinuxGlest$
As you can see I don't have plain libxerces-c.so.28, I have libxerces-c.so.28.0...
I assume it's safe to proceed with slightly modified commands?
«
Last Edit: November 24, 2009, 06:12:39 PM by -Archmage-
»
Logged
Hey there bot! Got my crosshairs on your head, step away slowly and say your prayers.......
Yggdrasil
GAE Team
Horseman
Posts: 179
Re: Glest 3.2.2 for Linux
«
Reply #24 on:
November 25, 2009, 09:04:03 AM »
You don't need to run the rest. You have already libxerces-c.so.27.
If it still does not work, i have no further idea. Better try building yourself or use the package of your distribution.
Logged
Pages: [
1
]
2
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements
=> General discussion
=> Multiplayer
=> Linux and other ports
=> Bug report
-----------------------------
Mods and Development
-----------------------------
=> Mods
=> Megaglest
=> Glest Advanced Engine
=> Maps, Tilesets and Scenarios
=> Tools
=> Translations
-----------------------------
Off Topic
-----------------------------
=> Off Topic
Loading...