MegaGlest Forum
Archives (read only) => Vanilla Glest => Linux and other ports => Topic started by: GlestTest on 31 December 2008, 12:09:00
-
Hello community.
I am running a 64bit Ubuntu 8.10
Since the 32bit version of Glest didn't work, I compiled the source... as described in the readme with ./configure and jam.
No file "glest" (or anything to start the program) was created in the compilation progress, so I used "glest", "glest.bin" and "glest.ini" from the 32bit binary. Additionally I copied in the data files into my glest folder.
When I try to run ./glest, *glest.log says "./glest.bin: error while loading shared libraries: libvorbis.so.0: cannot open shared object file: No such file or directory"
So, I copied the /usr/lib/libvorbis.so.0 file into the glest/lib/ folder. The error log then says: "./glest.bin: error while loading shared libraries: libvorbis.so.0: wrong ELF class: ELFCLASS64"
Can anybody please help me with this? I guess its a problem with the 32bit glest.bin and the 64bit libvorbis.so.0 ?
Thanks,
GlestTest
-----------
EDIT:
I downloaded a 32 bit version of libvorbis.so.0 and got error messages that some other files were missing. I made symbolic links to each of them. Now, glest tries to start up, crashes the Xserver :O and prints to the *glest.log: "./glest.bin: symbol lookup error: ./glest.bin: undefined symbol: ov_open"
EDIT2: Found out that ov_open is related to ogg vorbis.
-
I made it!!!!!!!!!!!!!
For anybody who is having problems: I will post a quick installation guide in an instant.
-
EDIT:
It might be easier to compile Glest from source. Alternatively, you can try this:
/EDIT
Installation of Glest on 64bit Linux (without compiling) - Tested on a 64bit Ubuntu 8.10 with glest 3.1.2
-----------------------------------------------------------------------------------------------------------------------------------------------------
- Get the 32 bit binary and the glest_data from glest.org - upack them
- You should get 2 folders: glest_game and glest_linux32_bin_3.1.2
- Copy contents of glest_linux32_bin_3.1.2 into glest_game folder
- Get 32bit lib files, since the game cant run with the 64 bit files that reside in your /usr/lib/ folder:
- Go to http://packages.ubuntu.com (http://packages.ubuntu.com) or a similar repository site and search for the 32bit / i386 versions of following packages:
libopenal* - in my case: libopenal1_1.3.253-4ubuntu1_i386.deb
libvorbis* - in my case: libvorbis0a_1.2.0.dfsg-3.1_i386.deb
libvorbisfile* - in my case: libvorbisfile3_1.2.0.dfsg-1ubuntu0.1_i386.deb
- extract .deb files with dpkg -x File.deb DestinationFolder
- extract .rpm files: Dunno how, use google ;)
- You should find those six files (or similar) in the extracted archives:
libopenal.so.1
libopenal.so.1.3.253
libvorbis.so.0
libvorbis.so.0.4.0
libvorbisfile.so.3
libvorbisfile.so.3.2.0
- Copy the six files into the glest_game/lib folder.
- Rename libopenal.so.1 to libopenal.so.0 since Glest looks for a libopenal.so.0 file
- Start ./glest - it should work
If not:
- look for a *glest.log file in your glest_game folder and see what went wrong.
- get missing lib files from repository site and/or rename/symlink existing lib files so glest will find them
Happy gaming
Please tell me if this worked for you
-
Thank you!
I have no 64bit system but I'll get one soon, so I'll test it out ^^
-
Thanks GlestTest. You could add Linux to the end of the topic title to make it more clear unless people wanted to discuss Windows 64-bit. I already have Glest working on it btw (EDIT: I mean Windows 64-bit).
-
I already have Glest working on it btw.
On Linux? Did you get it to compile properly?
-
What's the problem? Could you please post the build log, better only the error message.
Which version did you try to compile? Plain svn trunk is not compilable for linux at the moment. You have to add small patches, see http://http://glest.org/glest_board/viewtopic.php?f=11&t=3890. Not sure about the source for 3.1.2.
-
On Linux? Did you get it to compile properly?
I was talking about Windows 64-bit.
-
Glest can be compiled on 64bit Linux same way as on 32bit.
-
I think you need to either use all 32bit libs or 64bit libs for it to compile properly - no mixed. I could be wrong though.
-
Glest can be compiled on 64bit Linux same way as on 32bit.
Did you get a glest executable file after compiling?
-
Glest can be compiled on 64bit Linux same way as on 32bit.
Did you get a glest executable file after compiling?
No, I didn't. But because of missing includes, not because I have 64bit Linux. Are you trying to compile 3.1.2 or svn? Also post your build log.
I have installed Glest from Arch Linux package and they use this patch (http://http://repos.archlinux.org/viewvc.cgi/community/games/glest/fix_includes.patch?view=log&root=community&pathrev=CURRENT) for compiling. It is for 3.1.2
-
I have installed Glest from Arch Linux package and they use this patch (http://http://repos.archlinux.org/viewvc.cgi/community/games/glest/fix_includes.patch?view=log&root=community&pathrev=CURRENT) for compiling. It is for 3.1.2
Thanks, but I have no idea how to apply this patch. Is it specific to the Arch Linux packetmanager?
I used the glest-source-3.1.2.tar.bz2 from SourceForge
Results from ./configure and jam attatched. (Forum didnt like .txt or .log files, so I had to tar.gz the files)
In short: Two files (socket.cpp, conversion.cpp) are missing declarations.
[attachment deleted by admin]
-
Thanks, but I have no idea how to apply this patch. Is it specific to the Arch Linux packetmanager?
I used the glest-source-3.1.2.tar.bz2 from SourceForge
Results from ./configure and jam attatched. (Forum didnt like .txt or .log files, so I had to tar.gz the files)
In short: Two files (socket.cpp, conversion.cpp) are missing declarations.
Download that patch to directory where you compile Glest
Then run: patch -p1 < fix_includes.patch
-
It works. Thanks for your help!
-
Hey,
Any reason why you compiled it from source? Ubuntu Intrepid (8.10) includes Glest 3.2.1 in the official repositories (packages glest and glest-data in multiverse -as the data files aren't free-).
-
you don't need to recompile ;)
you can run glest under wine, to install wine go here:wine HQ (http://www.winehq.org/)
it's a program designed to run windows programs on linux or mac
i installed glest version3.2.1 on linux kubuntu8.04 with wine and it runs it just like windows
i know cause i have a linux and a windows computer
-
although i have found out from one of titi's posts that you can't play multiplayer with glest running under wine