Author Topic: Re: Error while initializing Megaglest on Ubuntu 14.04 (SOLVED)  (Read 1063 times)

ChicOrtiz

  • Initiate
  • Posts: 3
    • View Profile
Hello Megaglest Community!

I just installed the Version 3.12.0 for Linux x86_64 inside my Ubuntu 14.04 and I'm getting the following error:

"error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory"

Does anyone knows how to fix this?

Thank you,

Ortiz
« Last Edit: 11 July 2016, 21:19:16 by ChicOrtiz »

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
Re: Error while initializing Megaglest on Ubuntu 14.04
« Reply #1 on: 11 July 2016, 18:16:34 »
You didn't give the whole output from console (./start_megaglest), but most likely you need to do:
Code: [Select]
sudo apt-get install libsdl2-2.0-0

ChicOrtiz

  • Initiate
  • Posts: 3
    • View Profile
Re: Error while initializing Megaglest on Ubuntu 14.04
« Reply #2 on: 11 July 2016, 19:06:12 »
Hi Filux!

Thank you for the quick reply! :)

Here is the full output:

Code: [Select]
./megaglest
./megaglest: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory
chico@chico-linux:~/megaglest$ ./start_megaglest
/home/chico/megaglest/megaglest: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory

    If for some reason you see an error related with library, then you should try install this library
 in your linux. Hints with full names and with default versions of just detected missing libraries you
 see below.
 You can also perform mini update by launch 'megaglest-mini-update.sh' script, which may solve tiny problems.
 If it is other problem or after your tries it still doesn't work then please report a bug
 here: 'https://github.com/MegaGlest/megaglest-source/issues',
 or here: 'https://forum.megaglest.org/index.php?board=23.0'.

 Found LDCONFIG variable [1][/sbin/ldconfig]...
 OS info. [Ubuntu 14.04.4 LTS], Arch.[x86_64], Dir.[/home/chico/megaglest]
- default library [libSDL2-2.0.so.0] is missing in your OS, attempting to find and link to different version if is available...
  > not found !
- default library [libvlccore.so.7] is missing in your OS, using embedded library.

... and as information useful only for game developers, List of ignored libs:
 libasound.so.2 libpulse-simple.so.0 libpulse.so.0 libXcursor.so.1 libXinerama.so.1 libXi.so.6 libXrandr.so.2 libXss.so.1 libXxf86vm.so.1 libwayland-egl.so.1 libwayland-client.so.0 libwayland-cursor.so.0 libxkbcommon.so.0 libglapi.so.0 libXdamage.so.1 libXfixes.so.3 libX11-xcb.so.1 libxcb-glx.so.0 libxcb-dri2.so.0 libxcb-dri3.so.0 libxcb-present.so.0 libxcb-sync.so.1 libxshmfence.so.1 libdrm.so.2 libjson-c.so.2 libXrender.so.1 libwrap.so.0 libsndfile.so.1 libasyncns.so.0 libnsl.so.1 libFLAC.so.8 libvorbisenc.so.2 libvorbis.so.0 libogg.so.0

Does your initial suggestion still applies?

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
Re: Error while initializing Megaglest on Ubuntu 14.04
« Reply #3 on: 11 July 2016, 19:16:38 »
yep, now it is doubly sure :)
Quote
- default library [libSDL2-2.0.so.0] is missing in your OS, attempting to find and link to different version if is available...
  > not found !

ChicOrtiz

  • Initiate
  • Posts: 3
    • View Profile
Re: Error while initializing Megaglest on Ubuntu 14.04 (SOLVED)
« Reply #4 on: 11 July 2016, 19:46:36 »
Yay!

MegaGlest is up and running! Thank you so much Filux.

This installer definitely rocks! :)