Page 1 of 1

Cant install minecraft

Posted: 2020/05/13 05:28:56
by sd_iconoclast
I just tried to install minecraft using the minecraft.tar.gz file.
I extracted the tar file and executed "./minecraft-launcher".
Here is what I got:

[root@localhost minecraft-launcher]# ./minecraft-launcher
./minecraft-launcher: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./minecraft-launcher)
./minecraft-launcher: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./minecraft-launcher)
./minecraft-launcher: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./minecraft-launcher)

What is going wrong?

Re: Cant install minecraft

Posted: 2020/05/13 06:13:42
by TrevorH
The program you are trying to run was not built to run on CentOS 7 and needs a newer version of glibc than we supply. You cannot run that copy on CentOS and you cannot update glibc on CentOS to a new enough version to make it work. You either need a different copy of the program, built to run with glibc 2.17 or a newer operating system. It would work on CentOS 8 which does have a new enough glibc.

Re: Cant install minecraft

Posted: 2020/05/27 20:21:52
by DaveHighland
As a possible alternative:

Flathub has a version of Minecraft that might work on CentOS 7 due to the sandbox nature of flatpak: https://flathub.org/apps/details/com.mojang.Minecraft
(Caveat: I have not tried installing it on my CentOS 7 desktop.)

Flathub also has a similar game, Minetest, that is FOSS: https://flathub.org/apps/details/net.minetest.Minetest
I have installed Minetest on my CentOS 7 desktop, and it works.

FWIW
Dave

Re: Cant install minecraft

Posted: 2020/05/27 21:19:35
by sd_iconoclast
Thanks Dave,
I was trying to install minecraft for my son.
My solution ended up being to install ubuntu on an old hard drive and just swap it in when my son wants to play.
I think we will try Minetest though.
Thanks again.