View previous topic :: View next topic |
Author |
Message |
destroyedlolo l33t
Joined: 17 Jun 2011 Posts: 846 Location: Close to Annecy (France)
|
Posted: Sun Nov 10, 2019 6:20 pm Post subject: minecraft-launcher : Error 255 |
|
|
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 |
|
|
Marcih Apprentice
Joined: 19 Feb 2018 Posts: 213
|
Posted: Thu Mar 19, 2020 7:58 pm Post subject: |
|
|
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! ). _________________
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 |
|
|
hedmo Veteran
Joined: 29 Aug 2009 Posts: 1305 Location: sweden
|
|
Back to top |
|
|
Mappy n00b
Joined: 21 Jun 2019 Posts: 42
|
Posted: Sat Jul 25, 2020 3:13 am Post subject: Re: minecraft-launcher : Error 255 |
|
|
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 |
|
|
destroyedlolo l33t
Joined: 17 Jun 2011 Posts: 846 Location: Close to Annecy (France)
|
Posted: Tue Jul 28, 2020 10:53 pm Post subject: |
|
|
WWaaaahhoooo, it's working for me : GREATE !
Thanks a lot.
Spammer username removed. —Chiitoo |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2551 Location: Here and Away Again
|
Posted: Thu Feb 25, 2021 7:24 am Post subject: |
|
|
Merged in the above three potentially helpful replies from a spammer's copy of the initial post here. _________________ Kindest of regardses. |
|
Back to top |
|
|
|