Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Gamers & Players
  • Search

minecraft-launcher : Error 255

Having problems getting your favorite Linux game to work? Want to discuss strategies? This is the place!
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
Author
Message
destroyedlolo
l33t
l33t
Posts: 846
Joined: Fri Jun 17, 2011 10:28 am
Location: Close to Annecy (France)
Contact:
Contact destroyedlolo
Website

minecraft-launcher : Error 255

  • Quote

Post by destroyedlolo » Sun Nov 10, 2019 6:20 pm

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
Top
Marcih
Apprentice
Apprentice
User avatar
Posts: 213
Joined: Mon Feb 19, 2018 6:16 pm

  • Quote

Post by Marcih » Thu Mar 19, 2020 7:58 pm

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: Select all

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: Select all

[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: Select all

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.
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Thu Jul 23, 2020 5:47 am

have you tried this : https://github.com/hedmo/hedmos-overlay ... -r1.ebuild

Spammer username removed. —[profile=215889]Chiitoo[/profile]
Top
Mappy
n00b
n00b
Posts: 42
Joined: Fri Jun 21, 2019 8:53 pm

Re: minecraft-launcher : Error 255

  • Quote

Post by Mappy » Sat Jul 25, 2020 3:13 am

I personally had to enter the full path to the Java binary in the launcher, instead of using the default "java" link.
Top
destroyedlolo
l33t
l33t
Posts: 846
Joined: Fri Jun 17, 2011 10:28 am
Location: Close to Annecy (France)
Contact:
Contact destroyedlolo
Website

  • Quote

Post by destroyedlolo » Tue Jul 28, 2020 10:53 pm

hedmo wrote:have you tried this : https://github.com/hedmo/hedmos-overlay ... -r1.ebuild
WWaaaahhoooo, it's working for me : GREATE !
Thanks a lot.

Spammer username removed. —[profile=215889]Chiitoo[/profile]
Top
Chiitoo
Administrator
Administrator
User avatar
Posts: 3048
Joined: Sun Feb 28, 2010 5:36 pm
Location: Sore wa sore, kore wa kore... nanoda.

  • Quote

Post by Chiitoo » Thu Feb 25, 2021 7:24 am

Merged in the above three potentially helpful replies from a spammer's copy of the initial post here.
Kindest of regardses.
Top
Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Gamers & Players”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic