MegaGlest Forum

MegaGlest => Bug reports => Closed bug reports => Topic started by: jammyjamjamman on 9 May 2015, 17:27:13

Title: [fixed (br)] Megaglest 3.11.1 fails to run on kubuntu 15.04+, debian 8.
Post by: jammyjamjamman on 9 May 2015, 17:27:13
After installing and attempting to run megaglest using the ./start_megaglest script, I get the following output:

Code: [Select]
default library [/home/j/megaglest/lib/libdirectfb-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libdirectfb-1.2.so.9] pointed to from [/home/j/megaglest/lib/libdirectfb-1.2.so.0]
default library [/home/j/megaglest/lib/libfusion-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libfusion-1.2.so.9] pointed to from [/home/j/megaglest/lib/libfusion-1.2.so.0]
default library [/home/j/megaglest/lib/libdirect-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libdirect-1.2.so.9] pointed to from [/home/j/megaglest/lib/libdirect-1.2.so.0]
default library [/home/j/megaglest/lib/libjpeg.so.62] was found in [/usr/lib/i386-linux-gnu/libjpeg.so.62]
default library [/home/j/megaglest/lib/libpng15.so.15] is missing, attempting to find and link to a newer version if available...
new library link [/lib/x86_64-linux-gnu/libpng12.so.0] pointed to from [/home/j/megaglest/lib/libpng15.so.15]
default library [/home/j/megaglest/lib/libcurl.so.4] was found in [/usr/lib/x86_64-linux-gnu/libcurl.so.4]
default library [/home/j/megaglest/lib/libxerces-c-3.1.so] was found in [/usr/lib/x86_64-linux-gnu/libxerces-c-3.1.so]
default library [/home/j/megaglest/lib/libicudata.so.40] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libicudata.so.52] pointed to from [/home/j/megaglest/lib/libicudata.so.40]
default library [/home/j/megaglest/lib/libicuuc.so.40] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libicuuc.so.52] pointed to from [/home/j/megaglest/lib/libicuuc.so.40]
default library [/home/j/megaglest/lib/libGLEW.so.1.5] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libGLEW.so.1.10] pointed to from [/home/j/megaglest/lib/libGLEW.so.1.5]
default library [/home/j/megaglest/lib/libGLEW.so.1.5] is missing, attempting to find and link to a newer version if available...
default library [/home/j/megaglest/lib/libogg.so.0] was found in [/usr/lib/x86_64-linux-gnu/libogg.so.0]
default library [/home/j/megaglest/lib/libvorbis.so.0] was found in [/usr/lib/x86_64-linux-gnu/libvorbis.so.0]
default library [/home/j/megaglest/lib/libvorbisfile.so.3] was found in [/usr/lib/x86_64-linux-gnu/libvorbisfile.so.3]
default library [/home/j/megaglest/lib/libfontconfig.so.1] was found in [/usr/lib/x86_64-linux-gnu/libfontconfig.so.1]
default library [/home/j/megaglest/lib/libfreetype.so.6] was found in [/usr/lib/x86_64-linux-gnu/libfreetype.so.6]
default library [/home/j/megaglest/lib/libgnutls.so.26] is missing, attempting to find and link to a newer version if available...
default library [/home/j/megaglest/lib/libldap_r-2.4.so.2] was found in [/usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2]
default library [/home/j/megaglest/lib/libresolv.so.2] was found in [/lib/x86_64-linux-gnu/libresolv.so.2]
default library [/home/j/megaglest/lib/liblua5.1.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/j/megaglest/lib/libftgl.so.2] was found in [/usr/lib/x86_64-linux-gnu/libftgl.so.2]
default library [/home/j/megaglest/lib/libircclient.so.1] was found in [/usr/lib/x86_64-linux-gnu/libircclient.so.1]
default library [/home/j/megaglest/lib/libdl.so.2] was found in [/lib/x86_64-linux-gnu/libdl.so.2]
default library [/home/j/megaglest/lib/libvlccore.so.5] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libvlccore.so.8] pointed to from [/home/j/megaglest/lib/libvlccore.so.5]
default library [/home/j/megaglest/lib/libvlc.so.5] was found in [/usr/lib/libvlc.so.5]
default library [/home/j/megaglest/lib/libgcrypt.so.11] is missing, attempting to find and link to a newer version if available...
new library link [/lib/x86_64-linux-gnu/libgcrypt.so.20] pointed to from [/home/j/megaglest/lib/libgcrypt.so.11]
default library [/home/j/megaglest/lib/libtasn1.so.3] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libtasn1.so.6] pointed to from [/home/j/megaglest/lib/libtasn1.so.3]
default library [/home/j/megaglest/lib/librtmp.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/librtmp.so.1] pointed to from [/home/j/megaglest/lib/librtmp.so.0]
./megaglest: /home/j/megaglest/lib/libgcrypt.so.11: version `GCRYPT_1.2' not found (required by ./megaglest)
./megaglest: /home/j/megaglest/lib/libgcrypt.so.11: version `GCRYPT_1.2' not found (required by /home/j/megaglest/lib/libgnutls.so.26)

libgcrypt.so.11 is present in ~/megaglest/lib; it is a working link to libgcrypt.so.20, but it looks like that GCRYPT_1.2 is not present in this library.
It looks like it's the same issue as shown here https://forum.megaglest.org/index.php?topic=9571.0, but I don't think this is the fix since libgcrypt is already installed on ubuntu.
Title: Re: Megaglest 3.11.1 fails to run on kubuntu 15.04.
Post by: filux on 9 May 2015, 17:35:14
Try to remove symlink: "lib/libgcrypt.so.11",
then launch game by ./start_megaglest again,

then paste new (I hope different) output :).
Title: Re: Megaglest 3.11.1 fails to run on kubuntu 15.04.
Post by: jammyjamjamman on 9 May 2015, 17:41:22
Here is the new output:

Code: [Select]
gamedir [/home/j/megaglest]
Looking for LDCONFIG []...
LDCONFIG environment variable is not set...
Found LDCONFIG using which [/sbin/ldconfig]...
default library [/home/j/megaglest/lib/libopenal.so.1] was found in [/usr/lib/x86_64-linux-gnu/libopenal.so.1]
default library [/home/j/megaglest/lib/libdirectfb-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libdirectfb-1.2.so.9] pointed to from [/home/j/megaglest/lib/libdirectfb-1.2.so.0]
default library [/home/j/megaglest/lib/libfusion-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libfusion-1.2.so.9] pointed to from [/home/j/megaglest/lib/libfusion-1.2.so.0]
default library [/home/j/megaglest/lib/libdirect-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libdirect-1.2.so.9] pointed to from [/home/j/megaglest/lib/libdirect-1.2.so.0]
default library [/home/j/megaglest/lib/libjpeg.so.62] was found in [/usr/lib/i386-linux-gnu/libjpeg.so.62]
default library [/home/j/megaglest/lib/libpng15.so.15] is missing, attempting to find and link to a newer version if available...
new library link [/lib/x86_64-linux-gnu/libpng12.so.0] pointed to from [/home/j/megaglest/lib/libpng15.so.15]
default library [/home/j/megaglest/lib/libcurl.so.4] was found in [/usr/lib/x86_64-linux-gnu/libcurl.so.4]
default library [/home/j/megaglest/lib/libxerces-c-3.1.so] was found in [/usr/lib/x86_64-linux-gnu/libxerces-c-3.1.so]
default library [/home/j/megaglest/lib/libicudata.so.40] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libicudata.so.52] pointed to from [/home/j/megaglest/lib/libicudata.so.40]
default library [/home/j/megaglest/lib/libicuuc.so.40] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libicuuc.so.52] pointed to from [/home/j/megaglest/lib/libicuuc.so.40]
default library [/home/j/megaglest/lib/libGLEW.so.1.5] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libGLEW.so.1.10] pointed to from [/home/j/megaglest/lib/libGLEW.so.1.5]
default library [/home/j/megaglest/lib/libGLEW.so.1.5] is missing, attempting to find and link to a newer version if available...
default library [/home/j/megaglest/lib/libogg.so.0] was found in [/usr/lib/x86_64-linux-gnu/libogg.so.0]
default library [/home/j/megaglest/lib/libvorbis.so.0] was found in [/usr/lib/x86_64-linux-gnu/libvorbis.so.0]
default library [/home/j/megaglest/lib/libvorbisfile.so.3] was found in [/usr/lib/x86_64-linux-gnu/libvorbisfile.so.3]
default library [/home/j/megaglest/lib/libfontconfig.so.1] was found in [/usr/lib/x86_64-linux-gnu/libfontconfig.so.1]
default library [/home/j/megaglest/lib/libfreetype.so.6] was found in [/usr/lib/x86_64-linux-gnu/libfreetype.so.6]
default library [/home/j/megaglest/lib/libgnutls.so.26] is missing, attempting to find and link to a newer version if available...
default library [/home/j/megaglest/lib/libldap_r-2.4.so.2] was found in [/usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2]
default library [/home/j/megaglest/lib/libresolv.so.2] was found in [/lib/x86_64-linux-gnu/libresolv.so.2]
default library [/home/j/megaglest/lib/liblua5.1.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/j/megaglest/lib/libftgl.so.2] was found in [/usr/lib/x86_64-linux-gnu/libftgl.so.2]
default library [/home/j/megaglest/lib/libircclient.so.1] was found in [/usr/lib/x86_64-linux-gnu/libircclient.so.1]
default library [/home/j/megaglest/lib/libdl.so.2] was found in [/lib/x86_64-linux-gnu/libdl.so.2]
default library [/home/j/megaglest/lib/libvlccore.so.5] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libvlccore.so.8] pointed to from [/home/j/megaglest/lib/libvlccore.so.5]
default library [/home/j/megaglest/lib/libvlc.so.5] was found in [/usr/lib/libvlc.so.5]
default library [/home/j/megaglest/lib/libgcrypt.so.11] is missing, attempting to find and link to a newer version if available...
new library link [/lib/x86_64-linux-gnu/libgcrypt.so.20] pointed to from [/home/j/megaglest/lib/libgcrypt.so.11]
default library [/home/j/megaglest/lib/libtasn1.so.3] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libtasn1.so.6] pointed to from [/home/j/megaglest/lib/libtasn1.so.3]
default library [/home/j/megaglest/lib/librtmp.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/librtmp.so.1] pointed to from [/home/j/megaglest/lib/librtmp.so.0]
./megaglest: /home/j/megaglest/lib/libgcrypt.so.11: version `GCRYPT_1.2' not found (required by ./megaglest)
./megaglest: /home/j/megaglest/lib/libgcrypt.so.11: version `GCRYPT_1.2' not found (required by /home/j/megaglest/lib/libgnutls.so.26
Title: Re: Megaglest 3.11.1 fails to run on kubuntu 15.04.
Post by: filux on 9 May 2015, 17:50:29
 :look: Ok, I will fix symlink problems soon.
Title: Re: Megaglest 3.11.1 fails to run on kubuntu 15.04.
Post by: jammyjamjamman on 10 May 2015, 01:56:20
Warning this method for fixing megaglest is very crude and a patch is being worked on to make this process easier. Check whether this patch is available before following these steps.

I have compiled a binary using a patch made by filux that fixes the bug, which can be downloaded here.
Remove the original megaglest binary in ~/megaglest (or where ever you installed megaglest), then extract this one into the same folder. That should fix the problem. Also run ~/megaglest/start_megaglest from the terminal to see if any other errors pop up.

**quick update** I noticed after installing ubuntu MATE on my netbook that there were some dependencies missing. If you are failing to run megaglest (using the start_megaglest script) check that these dependencies are installed by running this command:
sudo apt-get install libopenal1 libftgl libircclient libvlc5

you might have other dependencies that you need to install you'll just have to work through installing them one by one/ post another bug report.


Use the method posted by filux below below to fix the problem.

Title: Re: Megaglest 3.11.1 fails to run on kubuntu 15.04.
Post by: filux on 4 June 2015, 22:05:10
The official way to fix problems with standalone client on ubuntu 15.04+ etc. in order is:

1. Download file: megaglest-mu-3.11.1-linux.tar.gz (https://github.com/MegaGlest/megaglest-source/releases/download/3.11.1/megaglest-mu-3.11.1-linux.tar.gz) .
2. Unpack it somewhere.
3. Copy script "megaglest-mini-update.sh" into game directory (there where is "start_megaglest").
4. Launch script "megaglest-mini-update.sh" once.
5. Launch "start_megaglest".

If after this you see any message about missing library in your OS then as always in such situations you should install those libraries.

(click to show/hide)

Title: Re: Megaglest 3.11.1 fails to run on kubuntu 15.04+, debian 8.
Post by: andy_5995 on 12 January 2016, 19:16:37
I couldn't get mg 3.11.1 working on my 64-bit Debian 8 system. The instructions above fixed it.
Title: Re: Megaglest 3.11.1 fails to run on kubuntu 15.04+, debian 8.
Post by: tomreyn on 12 January 2016, 23:49:02
Do the latest snapshots (http://snapshots.megaglest.org) work out of the box on Debian GNU/Linux 8 x86_64?
Title: Re: Megaglest 3.11.1 fails to run on kubuntu 15.04+, debian 8.
Post by: andy_5995 on 13 January 2016, 02:21:09
Do the latest snapshots (http://snapshots.megaglest.org) work out of the box on Debian GNU/Linux 8 x86_64?

I tried a snapshot from the 10th (MegaGlest-Installer-3.12-dev_x86_64_linux). I installed, ran 'start_megaglest' and mg started up perfectly.

Bear in mind, I have all the deps installed already. My point being, someone who's never ran MG may still have to install the proper dependencies for it to run.
Title: Re: Megaglest 3.11.1 fails to run on kubuntu 15.04+, debian 8.
Post by: tomreyn on 13 January 2016, 19:07:41
Thanks for trying and reporting back.

Unless we are going to craft packages for every Linux distribution and release, this is going to remain this way. With the (healthy) variety there is amongst Linux distributions, it is not possible to provide ready-made builds which work for everyone out of the box.

This is also discussed at https://megaglest.org/installation (https://megaglest.org/installation) (a page the download page points to).
Title: Re: Megaglest 3.11.1 fails to run on kubuntu 15.04+, debian 8.
Post by: andy_5995 on 13 January 2016, 22:34:36
Understood.

My post about FC23 can be disregarded. ;)
Title: Re: Megaglest 3.11.1 fails to run on kubuntu 15.04+, debian 8.
Post by: jammyjamjamman on 11 February 2016, 19:44:54
Understood.

My post about FC23 can be disregarded. ;)

I believe Fedora is pretty good at keeping megaglest up to date (although it's still stuck at 3.11 currently).
I was just thinking, for newbies, it might be better to recommend the playdeb (http://www.playdeb.net/game/megaglest) repo, then they don't need to worry about the dependencies (this does assume newbies use selected debian-based OSes).
Title: Re: Megaglest 3.11.1 fails to run on kubuntu 15.04+, debian 8.
Post by: filux on 11 February 2016, 20:28:02
Nope, Fedora is a test ground for commercial direction, so most packages related with tasks e.g. "server" or "desktop in the company" are up to date (sometimes even a bit too much/ unstable), others may be old as hell.
Title: Re: Megaglest 3.11.1 fails to run on kubuntu 15.04+, debian 8.
Post by: tomreyn on 13 February 2016, 08:43:32
I was just thinking, for newbies, it might be better to recommend the playdeb (http://www.playdeb.net/game/megaglest) repo, then they don't need to worry about the dependencies (this does assume newbies use selected debian-based OSes).

We already do so.
https://megaglest.org/linux-packages.html

And since we appreciate the work which mostly C. Korn spends on maintaining (and packaging for) PlayDeb we also host a mirror server (http://getdeb.megaglest.org) for the joint GetDeb/PlayDeb project for a good while now.