Author Topic: [fixed (br)] Megaglest 3.11.1 fails to run on kubuntu 15.04+, debian 8.  (Read 3073 times)

jammyjamjamman

  • Horseman
  • ****
  • Posts: 189
    • View Profile
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.
« Last Edit: 4 June 2015, 22:26:07 by filux »
"All right, I've been thinking. When life gives you lemons? Don't make lemonade. Make life take the lemons back! Get mad! 'I don't want your damn lemons! What am I supposed to do with these?'" ~Cave Johnson, Portal 2

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
Re: Megaglest 3.11.1 fails to run on kubuntu 15.04.
« Reply #1 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 :).

jammyjamjamman

  • Horseman
  • ****
  • Posts: 189
    • View Profile
Re: Megaglest 3.11.1 fails to run on kubuntu 15.04.
« Reply #2 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
« Last Edit: 10 May 2015, 04:03:16 by jammyjamjamman »
"All right, I've been thinking. When life gives you lemons? Don't make lemonade. Make life take the lemons back! Get mad! 'I don't want your damn lemons! What am I supposed to do with these?'" ~Cave Johnson, Portal 2

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
Re: Megaglest 3.11.1 fails to run on kubuntu 15.04.
« Reply #3 on: 9 May 2015, 17:50:29 »
 :look: Ok, I will fix symlink problems soon.

jammyjamjamman

  • Horseman
  • ****
  • Posts: 189
    • View Profile
Re: Megaglest 3.11.1 fails to run on kubuntu 15.04.
« Reply #4 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.

« Last Edit: 14 June 2015, 06:02:02 by jammyjamjamman »
"All right, I've been thinking. When life gives you lemons? Don't make lemonade. Make life take the lemons back! Get mad! 'I don't want your damn lemons! What am I supposed to do with these?'" ~Cave Johnson, Portal 2

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
Re: Megaglest 3.11.1 fails to run on kubuntu 15.04.
« Reply #5 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 .
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)

« Last Edit: 4 June 2015, 22:25:35 by filux »

andy_5995

  • Moderator
  • Ornithopter
  • ********
  • Posts: 454
  • Debian Linux user
    • View Profile
    • Andy Alt's home page
Re: Megaglest 3.11.1 fails to run on kubuntu 15.04+, debian 8.
« Reply #6 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.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Megaglest 3.11.1 fails to run on kubuntu 15.04+, debian 8.
« Reply #7 on: 12 January 2016, 23:49:02 »
Do the latest snapshots work out of the box on Debian GNU/Linux 8 x86_64?
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

andy_5995

  • Moderator
  • Ornithopter
  • ********
  • Posts: 454
  • Debian Linux user
    • View Profile
    • Andy Alt's home page
Re: Megaglest 3.11.1 fails to run on kubuntu 15.04+, debian 8.
« Reply #8 on: 13 January 2016, 02:21:09 »
Do the latest snapshots 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.
« Last Edit: 13 January 2016, 03:20:31 by andy_5995 »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Megaglest 3.11.1 fails to run on kubuntu 15.04+, debian 8.
« Reply #9 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 (a page the download page points to).
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

andy_5995

  • Moderator
  • Ornithopter
  • ********
  • Posts: 454
  • Debian Linux user
    • View Profile
    • Andy Alt's home page
Re: Megaglest 3.11.1 fails to run on kubuntu 15.04+, debian 8.
« Reply #10 on: 13 January 2016, 22:34:36 »
Understood.

My post about FC23 can be disregarded. ;)

jammyjamjamman

  • Horseman
  • ****
  • Posts: 189
    • View Profile
Re: Megaglest 3.11.1 fails to run on kubuntu 15.04+, debian 8.
« Reply #11 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 repo, then they don't need to worry about the dependencies (this does assume newbies use selected debian-based OSes).
"All right, I've been thinking. When life gives you lemons? Don't make lemonade. Make life take the lemons back! Get mad! 'I don't want your damn lemons! What am I supposed to do with these?'" ~Cave Johnson, Portal 2

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
Re: Megaglest 3.11.1 fails to run on kubuntu 15.04+, debian 8.
« Reply #12 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.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Megaglest 3.11.1 fails to run on kubuntu 15.04+, debian 8.
« Reply #13 on: 13 February 2016, 08:43:32 »
I was just thinking, for newbies, it might be better to recommend the playdeb 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 for the joint GetDeb/PlayDeb project for a good while now.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·