Author Topic: [fixed/not a bug] MIssing Libs in 3.5 for Linux?  (Read 2143 times)

komarac

  • Guest
[fixed/not a bug] MIssing Libs in 3.5 for Linux?
« on: 30 April 2011, 14:50:31 »
Hello

i am new user...or, i would be one, if i could run megaglest.
I downloaded and installed the latest release of megaglest on natty 32 using the graphic installer.
No trouble at this point.
When i want to start the programm from the terminal it shows "funny" things
Quote
gamedir [/home/david/megaglest]
Looking for LDCONFIG []...
LDCONFIG environment variable is not set...
Found LDCONFIG using which [/sbin/ldconfig]...
default library [/home/david/megaglest/lib/libopenal.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/david/megaglest/lib/libdirectfb-1.0.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libdirectfb-1.2.so.9] pointed to from [/home/david/megaglest/lib/libdirectfb-1.0.so.0]
default library [/home/david/megaglest/lib/libfusion-1.0.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libfusion-1.2.so.9] pointed to from [/home/david/megaglest/lib/libfusion-1.0.so.0]
default library [/home/david/megaglest/lib/libdirect-1.0.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libdirect-1.2.so.9] pointed to from [/home/david/megaglest/lib/libdirect-1.0.so.0]
default library [/home/david/megaglest/lib/libjpeg.so.62] was found in [/usr/lib/i386-linux-gnu/libjpeg.so.62]
default library [/home/david/megaglest/lib/libpng12.so.0] was found in [/lib/i386-linux-gnu/libpng12.so.0]
default library [/home/david/megaglest/lib/libcurl-gnutls.so.4] was found in [/usr/lib/libcurl-gnutls.so.4]
default library [/home/david/megaglest/lib/libxerces-c.so.28] is missing, attempting to find and link to a newer version if available...
default library [/home/david/megaglest/lib/libicudata.so.40] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libicudata.so.44] pointed to from [/home/david/megaglest/lib/libicudata.so.40]
default library [/home/david/megaglest/lib/libicuuc.so.40] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libicuuc.so.44] pointed to from [/home/david/megaglest/lib/libicuuc.so.40]
./bin/megaglest.bin: error while loading shared libraries: libopenal.so.0: cannot open shared object file: No such file or directory

i tried the commands which are described in the wiki
Quote
mkdir lib_bkp
mv lib/* lib_bkp/
cp lib_bkp/libcurl* lib/
cp lib_bkp/libgnu* lib/
cp lib_bkp/libicu* lib/
cp lib_bkp/liblua* lib/
cp lib_bkp/libxerces* lib/
But again...some failures
Quote
david@david-SQ45S70S:~/megaglest$ sudo cp lib_bkp/libcurl* lib/
cp: Aufruf von stat für „lib_bkp/libcurl*“ nicht möglich: Datei oder Verzeichnis nicht gefunden
------
What means that „lib_bkp/libcurl*“ was not found
Same with
cp lib_bkp/libxerces* lib/

Any ideas?

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: MIssing Libs in 3.5 for Linux?
« Reply #1 on: 30 April 2011, 16:49:13 »
Sounds like you're missing some libraries. Do you have all the dependencies?
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

komarac

  • Guest
Re: MIssing Libs in 3.5 for Linux?
« Reply #2 on: 30 April 2011, 20:54:09 »
i don't think so...that's the reason why i posted here. I downloaded the installer, and i thought that the installer should contain all and every necessary library.
If there are some major linux libs which are missing, it might be due to natty....
question now is....where can i get these missing libs?

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: MIssing Libs in 3.5 for Linux?
« Reply #3 on: 3 May 2011, 11:08:15 »
Please open a terminal window and sudo apt-get update && sudo apt-get install libopenal1.
This OpenAL library is the dependency you're missing.
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 · · ·

komarac

  • Guest
Re: MIssing Libs in 3.5 for Linux?
« Reply #4 on: 5 May 2011, 17:24:16 »
Please open a terminal window and sudo apt-get update && sudo apt-get install libopenal1.
This OpenAL library is the dependency you're missing.

thanks for that tip
now i have music/sound...but nothing on the screen...if i try to escape (pressing esc and return key several times...) the system crashes
has anyone tested glest with ubuntu 11.4, the hole system works pretty unstable and buggy....so i believe that this issue is not a glest related problem, but due to natty-failures

btw
i am using (only) an external screen on a notebook.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: MIssing Libs in 3.5 for Linux?
« Reply #5 on: 6 May 2011, 12:31:29 »
I've been using 11.04 and its betas for a while now, and MegaGlest works well on it for me. Others have reported success in running MG on it, too.So I assume the issue you are reporting is indeed related to your hardware.

You can run MegaGlest from a terminal window to get more information on what exactly is going wrong. If you have the 64 bit (x86_64/amd64) variant of Ubuntu 11.04 then run this command before starting the game:
Quote
ulimit -c unlimited

This way, when it crashes, it creates a 'core' file in the current working directory. You can then upload this file on some free upload site and post the URL here, so I can inspect it further.

Whatever variant you have, the terminal window may display some error information you could post here, or better yet, to the MegaGlest forums.
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 · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: MIssing Libs in 3.5 for Linux?
« Reply #6 on: 7 May 2011, 06:48:34 »
You likely need to change:

Code: [Select]
RefreshFrequency=75
To something your monitor / video card support at the selected resoltuion.

komarac

  • Guest
Re: MIssing Libs in 3.5 for Linux?
« Reply #7 on: 8 May 2011, 17:40:27 »
You likely need to change:

Code: [Select]
RefreshFrequency=75
To something your monitor / video card support at the selected resoltuion.

Okay, makes sense....video card only supports 60 fps for external monitors....where can i change this value?

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: MIssing Libs in 3.5 for Linux?
« Reply #8 on: 8 May 2011, 18:59:34 »
I dunno if that would be the problem. My laptop's screen has a 60hz refresh rate too, yet it has no problems with the 75 refresh rate. Same for all my other computers.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: MIssing Libs in 3.5 for Linux?
« Reply #9 on: 8 May 2011, 21:07:29 »
in windows you should goto your megaglest folder and run megaglest_configurator.exe

this will allow you to change the refresh frequency to another value, make sure you save the changes before exiting.