Author Topic: [not a bug] 3.6.0: After installing as root, normal user cannot start MG  (Read 1575 times)

rames_pl

  • Guest
It crashes when I try to start the game. I can't even see any game screan.
There were no problems during installation process. I'm using linux 32bit version downloaded from megaglest.org/download.html, my opearting system is ubuntu 11.10.

Bug report:

Code: [Select]
lucas@lucas-laptop:~/megaglest$ ./start_megaglest
gamedir [/home/lucas/megaglest]
Looking for LDCONFIG []...
LDCONFIG environment variable is not set...
Found LDCONFIG using which [/sbin/ldconfig]...
default library [/home/lucas/megaglest/lib/libopenal.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libopenal.so.1] pointed to from [/home/lucas/megaglest/lib/libopenal.so.0]
ln: tworzenie dowiązania symbolicznego `/home/lucas/megaglest/lib/libopenal.so.0': Brak dostępu
default library [/home/lucas/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/lucas/megaglest/lib/libdirectfb-1.0.so.0]
ln: tworzenie dowiązania symbolicznego `/home/lucas/megaglest/lib/libdirectfb-1.0.so.0': Brak dostępu
default library [/home/lucas/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/lucas/megaglest/lib/libfusion-1.0.so.0]
ln: tworzenie dowiązania symbolicznego `/home/lucas/megaglest/lib/libfusion-1.0.so.0': Brak dostępu
default library [/home/lucas/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/lucas/megaglest/lib/libdirect-1.0.so.0]
ln: tworzenie dowiązania symbolicznego `/home/lucas/megaglest/lib/libdirect-1.0.so.0': Brak dostępu
default library [/home/lucas/megaglest/lib/libjpeg.so.62] was found in [/usr/lib/i386-linux-gnu/libjpeg.so.62]
default library [/home/lucas/megaglest/lib/libpng15.so.15] is missing, attempting to find and link to a newer version if available...
new library link [/lib/i386-linux-gnu/libpng12.so.0] pointed to from [/home/lucas/megaglest/lib/libpng15.so.15]
ln: tworzenie dowiązania symbolicznego `/home/lucas/megaglest/lib/libpng15.so.15': Brak dostępu
default library [/home/lucas/megaglest/lib/libcurl.so.4] was found in [/usr/lib/i386-linux-gnu/libcurl.so.4]
default library [/home/lucas/megaglest/lib/libxerces-c-3.1.so] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libxerces-c.so.28] pointed to from [/home/lucas/megaglest/lib/libxerces-c-3.1.so]
ln: tworzenie dowiązania symbolicznego `/home/lucas/megaglest/lib/libxerces-c-3.1.so': Brak dostępu
default library [/home/lucas/megaglest/lib/libicudata.so.38] 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/lucas/megaglest/lib/libicudata.so.38]
ln: tworzenie dowiązania symbolicznego `/home/lucas/megaglest/lib/libicudata.so.38': Brak dostępu
default library [/home/lucas/megaglest/lib/libicuuc.so.38] 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/lucas/megaglest/lib/libicuuc.so.38]
ln: tworzenie dowiązania symbolicznego `/home/lucas/megaglest/lib/libicuuc.so.38': Brak dostępu
default library [/home/lucas/megaglest/lib/libGLEW.so.1.5] was found in [/usr/lib/libGLEW.so.1.5]
default library [/home/lucas/megaglest/lib/libGLEW.so.1.5] was found in [/usr/lib/libGLEW.so.1.5]
default library [/home/lucas/megaglest/lib/libogg.so.0] was found in [/usr/lib/i386-linux-gnu/libogg.so.0]
default library [/home/lucas/megaglest/lib/libvorbis.so.0] was found in [/usr/lib/i386-linux-gnu/libvorbis.so.0]
default library [/home/lucas/megaglest/lib/libvorbisfile.so.3] was found in [/usr/lib/i386-linux-gnu/libvorbisfile.so.3]
default library [/home/lucas/megaglest/lib/libfontconfig.so.1] was found in [/usr/lib/i386-linux-gnu/libfontconfig.so.1]
default library [/home/lucas/megaglest/lib/libfreetype.so.6] was found in [/usr/lib/i386-linux-gnu/libfreetype.so.6]
default library [/home/lucas/megaglest/lib/libgnutls.so.13] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/i386-linux-gnu/libgnutls.so.26] pointed to from [/home/lucas/megaglest/lib/libgnutls.so.13]
ln: nie można usunąć `/home/lucas/megaglest/lib/libgnutls.so.13': Brak dostępu
default library [/home/lucas/megaglest/lib/libldap_r-2.4.so.2] was found in [/usr/lib/i386-linux-gnu/libldap_r-2.4.so.2]
default library [/home/lucas/megaglest/lib/libresolv.so.2] was found in [/lib/i386-linux-gnu/libresolv.so.2]
default library [/home/lucas/megaglest/lib/liblua5.1.so.0] was found in [/usr/lib/i386-linux-gnu/liblua5.1.so.0]
default library [/home/lucas/megaglest/lib/libftgl.so.2] is missing, attempting to find and link to a newer version if available...
default library [/home/lucas/megaglest/lib/libircclient.so.1] was found in [/usr/lib/libircclient.so.1]
default library [/home/lucas/megaglest/lib/libdl.so.2] was found in [/lib/i386-linux-gnu/libdl.so.2]
./megaglest: error while loading shared libraries: libopenal.so.0: cannot open shared object file: No such file or directory
« Last Edit: 7 December 2011, 15:28:07 by tomreyn »

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: 3.6.0: Do not start
« Reply #1 on: 7 December 2011, 11:30:18 »
there are permission problems:
if I translate "Brak dostępu" the right way you are not allowed to create symbolic links ...

Code: [Select]
default library [/home/lucas/megaglest/lib/libopenal.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libopenal.so.1] pointed to from [/home/lucas/megaglest/lib/libopenal.so.0]
ln: tworzenie dowiązania symbolicznego `/home/lucas/megaglest/lib/libopenal.so.0': Brak dostępu

How did you install? Did you use the installer for linux 32bit?
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: 3.6.0: Do not start
« Reply #2 on: 7 December 2011, 11:43:21 »
Make sure the filesystem you are installing on is one which supports symbolic links, i.e. ext2, ext3, ext4, btrfs will be fine, but not vfat (fat32) or ntfs.
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 · · ·

rames_pl

  • Guest
Re: 3.6.0: Do not start
« Reply #3 on: 7 December 2011, 13:22:57 »
there are permission problems:
if I translate "Brak dostępu" the right way you are not allowed to create symbolic links ...
Yes, you're right. "Brak dostępu" means access denied.
The game works, when I type command with "sudo" in terminal. But I didn't work out yet, how to change the owner of files in catatogue of the game. Nautilis (even in root mode) don't want to cooperate in this case :/

rames_pl

  • Guest
Re: 3.6.0: Do not start
« Reply #4 on: 7 December 2011, 14:08:02 »
I installed it once again, this time as a "normal user", not as root.
Problem resolved. Everything work exellent  :D

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Right, you missed to read the installation instructions contained in the README file (which the installers display, and which the website also points to) which state that you are not supposed to install as root when using our installers:

You need not and should not run the installer as the administrative user (root) or via sudo, but as a normal (restricted) user.
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 · · ·

Dritominous

  • Guest
Used root when not needed?  Yep, sounds like an Ubuntu user to me.

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Never use Admin? Yup sounds like a windows user :)

Dritominous

  • Guest
 :O 



I never said never.

 

anything