Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
minecraft-launcher : Error 255
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Sun Nov 10, 2019 6:20 pm    Post subject: minecraft-launcher : Error 255 Reply with quote

Hello,

Back on an old subject for me :? .

I would like to install MineCraft on my son's x64 PC (under Gentoo obviously). So I downloaded the "Other Linux Java version" from Minecraft side.
But when I'm trying to launching minecraft-launcher, it's stopping immediately with a return code 255.
It's an ELF executable and LDD doesn't complain about missing lib : everything seems here.

Java8 is obviously installed.

Any clue or idea ?

Thanks

Laurent
Back to top
View user's profile Send private message
Marcih
Apprentice
Apprentice


Joined: 19 Feb 2018
Posts: 213

PostPosted: Thu Mar 19, 2020 7:58 pm    Post subject: Reply with quote

I also recall trying using the new (Electron?) launcher from the Minecraft website and having issues with it.
In fact, while writing this, I downloaded it and tried it out. When I tried executing "minecraft-launcher" from the terminal I get no output, last exit code 255. LDD finds no issues.
Code:
user@pc /tmp $ ldd minecraft-launcher/minecraft-launcher
        linux-vdso.so.1 (0x00007ffe8851a000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f44e6de4000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f44e6dc2000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libstdc++.so.6 (0x00007f44e6b4a000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc_s.so.1 (0x00007f44e6b30000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f44e6961000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f44e6e1d000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f44e6823000)
user@pc /tmp $ minecraft-launcher/minecraft-launcher
user@pc /tmp $ echo $?
255

I found ~/.minecraft/launcher_log.txt, complains about missing libgconf-2.so.4.
Code:
[Error: 2020-03-19 19:02:41.009634851: LauncherPluginLinux.cpp(20)] Failed to load liblauncher.so: libgconf-2.so.4: cannot open shared object file: No such file or directory

Installed gnome-base/gconf (Woo, Python 2! Don't we have the shiny new dconf to replace gconf anyway?), starts up fine. Note that LDD doesn't mention libgconf, minecraft-launcher doesn't require it, liblauncher.so (and libcef.so) does.
Code:
user@pc /tmp $ ldd minecraft-launcher/*
[...]
minecraft-launcher/libcef.so:
[...]
        libgconf-2.so.4 => not found
[...]
minecraft-launcher/liblauncher.so:
ldd: warning: you do not have execution permission for `minecraft-launcher/liblauncher.so'
[...]
        libgconf-2.so.4 => not found
[...]


Try seeing if that's your issue or running ldd on all the libraries and executables (hint-hint ldd minecraft-launcher/* | grep not\ found hint-hint). Wouldn't be first. ;) Also notice the distinct lack of activity from devs on these tickets and the fact that discussing replacing dependency on gconf by dconf is not available to the public (look up the ticket number to at least see the name and description - thanks search engine metadata! :D).
_________________
Bones McCracker wrote:
It wouldn't be so bad, if it didn't suck.

NeddySeagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.
Back to top
View user's profile Send private message
hedmo
Veteran
Veteran


Joined: 29 Aug 2009
Posts: 1305
Location: sweden

PostPosted: Thu Jul 23, 2020 5:47 am    Post subject: Reply with quote

have you tried this : https://github.com/hedmo/hedmos-overlay/blob/master/games-action/minecraft/minecraft-1.6.93-r1.ebuild

Spammer username removed.Chiitoo
Back to top
View user's profile Send private message
Mappy
n00b
n00b


Joined: 21 Jun 2019
Posts: 42

PostPosted: Sat Jul 25, 2020 3:13 am    Post subject: Re: minecraft-launcher : Error 255 Reply with quote

I personally had to enter the full path to the Java binary in the launcher, instead of using the default "java" link.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Tue Jul 28, 2020 10:53 pm    Post subject: Reply with quote

hedmo wrote:
have you tried this : https://github.com/hedmo/hedmos-overlay/blob/master/games-action/minecraft/minecraft-1.6.93-r1.ebuild

WWaaaahhoooo, it's working for me : GREATE !
Thanks a lot.

Spammer username removed.Chiitoo
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2550
Location: Here and Away Again

PostPosted: Thu Feb 25, 2021 7:24 am    Post subject: Reply with quote

Merged in the above three potentially helpful replies from a spammer's copy of the initial post here.
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum