dizzyd / mcdex

Minecraft Modpack Management
Apache License 2.0
74 stars 8 forks source link

/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ./mcdex) on Ubuntu 18 LTS #54

Closed jason-s-yu closed 4 years ago

jason-s-yu commented 4 years ago

Hey folks.

Is it possible to get mcdex running on Ubuntu <=18LTS without having to build the latest version of libc from source? Ubuntu 18 only runs libc 2.27; 2.28 isn't available to install until version 19 or 20 natively.

$ ldd --version
ldd (Ubuntu GLIBC 2.27-3ubuntu1.2) 2.27
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
$ apt-cache policy libc6
libc6:
  Installed: 2.27-3ubuntu1.2
  Candidate: 2.27-3ubuntu1.2
  Version table:
 *** 2.27-3ubuntu1.2 500
        500 http://mirrors.digitalocean.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2.27-3ubuntu1 500
        500 http://mirrors.digitalocean.com/ubuntu bionic/main amd64 Packages

Thanks in advance

dizzyd commented 4 years ago

This should be resolved in v0.10.2. I changed linux to statically link in libc, which should enable this to work even on fairly old Ubuntu. I've validated it works on at least Ubuntu 18.04 LTS. Please let me know if you have any other issues.