Author Topic: [fixed] Ubuntu 14.10: librtmp.so.0 missing, v3.9.1 fails to start  (Read 4021 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
If you are trying to run MegaGlest 3.9.1 on Ubuntu 14.10, please apply the fix for Ubuntu 14.04 as well as this:
Code: [Select]
cd ~/megaglest
rm -f lib/libtasn1.so* lib/librtmp.so* && \
case `uname -i` in i686) ln -s /usr/lib/i386-linux-gnu/libtasn1.so.6 lib/libtasn1.so.3; ln -s /usr/lib/i386-linux-gnu/librtmp.so lib/librtmp.so.0 ;; x86_64) ln -s /usr/lib/x86_64-linux-gnu/libtasn1.so.6 lib/libtasn1.so.3; ln -s /usr/lib/x86_64-linux-gnu/librtmp.so lib/librtmp.so.0 ;; *) echo 'Error: unknown architecture' >&2 && exit 1;; esac

Note that I am blatantly assuming that you have MegaGlest installed in ~/megaglest here. If you have it elsewhere, please change into that directory instead in the first line.

Thanks to andy123 for notifying us of this issue.
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 · · ·

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,239
    • View Profile
    • http://www.titusgames.de
Re: Ubuntu 14.10: librtmp.so.0 missing, v3.9.1 fails to start
« Reply #1 on: 3 November 2014, 12:48:32 »
I tried to fix this in git, but I was not able to test it on ubuntu 14.04.
Maybe someone can test this for me ?

https://github.com/MegaGlest/megaglest-source/commit/250294bc9e89a16532d6cdb1525c43a4d2cad0f7
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Ubuntu 14.10: librtmp.so.0 missing, v3.9.1 fails to start
« Reply #2 on: 8 November 2014, 12:14:23 »
I don't think it's an issue on 14.04, just on 14.10, so that'd where it'd need to be tested.
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 · · ·

wciow

  • Behemoth
  • *******
  • Posts: 968
    • View Profile
Re: Ubuntu 14.10: librtmp.so.0 missing, v3.9.1 fails to start
« Reply #3 on: 13 December 2014, 12:36:48 »
Just a quick report to say I tried this and it didn't work. I'm currently using an up-to-date Ubuntu 14.10.

I downloaded 3.10.0-beta1 and got the missing lib error.

The links are created and the link to libTASN is good but the link to librtmp is created as a broken link somehow. I played around a bit with the file permissions but couldn't get it working.

I see this thread is a few weeks old so maybe there is a new fix?

Edit]  Using the start_megaglest script solves the link problems so the game will start. I had to change the data path in glest-dev.ini to get the data working though as the one provided points two levels above the actual data folder.
« Last Edit: 15 December 2014, 14:18:32 by wciow »
Check out my new Goblin faction - https://forum.megaglest.org/index.php?topic=9658.0

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,239
    • View Profile
    • http://www.titusgames.de
Re: Ubuntu 14.10: librtmp.so.0 missing, v3.9.1 fails to start
« Reply #4 on: 22 December 2014, 00:42:44 »
Oh so in general this is fixed, but the problem in your case was that our beta accidentally came with a glest-dev.ini ?
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios