Cant install minecraft

Issues related to applications and software problems
Post Reply
sd_iconoclast
Posts: 12
Joined: 2014/02/28 23:23:19

Cant install minecraft

Post by sd_iconoclast » 2020/05/13 05:28:56

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?

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Cant install minecraft

Post by TrevorH » 2020/05/13 06:13:42

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.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

DaveHighland
Posts: 20
Joined: 2016/04/06 20:08:05

Re: Cant install minecraft

Post by DaveHighland » 2020/05/27 20:21:52

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

sd_iconoclast
Posts: 12
Joined: 2014/02/28 23:23:19

Re: Cant install minecraft

Post by sd_iconoclast » 2020/05/27 21:19:35

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.

Post Reply