How do I get new GLIBC version

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
TheRedBaron56
Level 1
Level 1
Posts: 32
Joined: Thu Jul 30, 2020 1:06 pm

How do I get new GLIBC version

Post by TheRedBaron56 »

Title says it all. Was trying to run RimPy for a heavily modded game of Rimworld recently, followed an instruction video and got as far as chmod-ing it before I hit this wall.

Code: Select all

theredbaron@MartinHomeComp:~$ cd /home/theredbaron/Desktop/RimPy_Linux
theredbaron@MartinHomeComp:~/Desktop/RimPy_Linux$ chmod +x ./RimPy
theredbaron@MartinHomeComp:~/Desktop/RimPy_Linux$ ./RimPy
./RimPy: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./RimPy)
./RimPy: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/theredbaron/Desktop/RimPy_Linux/libpython3.9.so.1.0)
./RimPy: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/theredbaron/Desktop/RimPy_Linux/libpython3.9.so.1.0)
theredbaron@MartinHomeComp:~/Desktop/RimPy_Linux$ ^C
theredbaron@MartinHomeComp:~/Desktop/RimPy_Linux$ sudo chmod +x ./RimPy
[sudo] password for theredbaron:           
theredbaron@MartinHomeComp:~/Desktop/RimPy_Linux$ ./RimPy
./RimPy: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./RimPy)
./RimPy: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/theredbaron/Desktop/RimPy_Linux/libpython3.9.so.1.0)
./RimPy: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/theredbaron/Desktop/RimPy_Linux/libpython3.9.so.1.0)
theredbaron@MartinHomeComp:~/Desktop/RimPy_Linux$ 
Followed some more tips to figure out confused I was even looking at, and looked up the currently installed version.

Code: Select all

theredbaron@MartinHomeComp:~$ apt-cache policy libc6
libc6:
  Installed: 2.27-3ubuntu1.5
  Candidate: 2.27-3ubuntu1.5
  Version table:
 *** 2.27-3ubuntu1.5 500
        500 http://archive.ubuntu.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://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
idk where to go from here. Someone who knows more about this than me pls advise.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
LMint
Level 1
Level 1
Posts: 13
Joined: Sat Apr 30, 2022 11:41 am
Location: Florida
Contact:

Re: How do I get new GLIBC version

Post by LMint »

What version of Mint are you using?

I'm running 20.3 Mate and have GLIBC 2.31 installed.
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: How do I get new GLIBC version

Post by Hoser Rob »

LMint wrote: Sun May 22, 2022 1:22 pm ... have GLIBC 2.31 installed.
If that'll work an update to 20.3 would the way to go if you're using an older Mint release.

glibc is one of the most widely used dependency libraries in Linux and, due to a lack of backwards and forwards compatibility in Linux generally, updating glibc to a newer version would be a truly fantastic way to completely break your Linux.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
TheRedBaron56
Level 1
Level 1
Posts: 32
Joined: Thu Jul 30, 2020 1:06 pm

Re: How do I get new GLIBC version

Post by TheRedBaron56 »

Oh sorry forgot to upload my specs. tl;dr Mint 19.3 cinnamon.
  • System: Host: MartinHomeComp Kernel: 4.15.0-177-generic x86_64 bits: 64 compiler: gcc v: 7.5.0
    Desktop: Cinnamon 4.4.8 wm: muffin dm: LightDM Distro: Linux Mint 19.3 Tricia
    base: Ubuntu 18.04 bionic
    Machine: Type: Desktop Mobo: ASRock model: X570 Phantom Gaming 4 serial: <filter>
    UEFI: American Megatrends v: P2.20 date: 11/25/2019
    CPU: Topology: 8-Core model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen
    L2 cache: 4096 KiB
    flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 115200
    Speed: 2213 MHz min/max: 2200/3600 MHz Core speeds (MHz): 1: 2213 2: 2416 3: 3309
    4: 2143 5: 2371 6: 2731 7: 2065 8: 2205 9: 3605 10: 2069 11: 2713 12: 2267 13: 2060
    14: 2064 15: 2044 16: 2597
    Graphics: Device-1: NVIDIA vendor: Gigabyte driver: nvidia v: 510.73.05 bus ID: 08:00.0
    chip ID: 10de:1e81
    Display: x11 server: X.Org 1.19.6 driver: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1080~144Hz, 1920x1080~60Hz
    OpenGL: renderer: NVIDIA GeForce RTX 2080 SUPER/PCIe/SSE2 v: 4.6.0 NVIDIA 510.73.05
    direct render: Yes
    Audio: Device-1: NVIDIA vendor: Gigabyte driver: snd_hda_intel v: kernel bus ID: 08:00.1
    chip ID: 10de:10f8
    Device-2: AMD vendor: ASRock driver: snd_hda_intel v: kernel bus ID: 0a:00.4
    chip ID: 1022:1487
    Device-3: Logitech type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 3-4:2
    chip ID: 046d:0a87
    Sound Server: ALSA v: k4.15.0-177-generic
    Network: Device-1: Intel I211 Gigabit Network vendor: ASRock driver: igb v: 5.4.0-k port: f000
    bus ID: 04:00.0 chip ID: 8086:1539
    IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
    Drives: Local Storage: total: 5.92 TiB used: 3.84 TiB (64.9%)
    ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNW512G8 size: 476.94 GiB speed: 31.6 Gb/s
    lanes: 4 serial: <filter>
    ID-2: /dev/sda type: USB vendor: Seagate model: Expansion size: 1.82 TiB
    speed: <unknown> serial: <filter>
    ID-3: /dev/sdb type: USB vendor: Seagate model: Expansion size: 3.64 TiB
    speed: <unknown> serial: <filter>
    Partition: ID-1: / size: 466.31 GiB used: 370.51 GiB (79.5%) fs: ext4 dev: /dev/dm-1
    ID-2: /boot size: 704.5 MiB used: 343.4 MiB (48.7%) fs: ext4 dev: /dev/nvme0n1p2
    ID-3: swap-1 size: 979.5 MiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-3
    Sensors: Message: No sensors data was found. Is sensors configured?
    Repos: No active apt repos in: /etc/apt/sources.list
    Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list
    1: deb https: //dl.winehq.org/wine-builds/ubuntu/ bionic main
    Active apt repos in: /etc/apt/sources.list.d/github_git-lfs.list
    1: deb https: //packagecloud.io/github/git-lfs/linuxmint/ tina main
    2: deb-src https: //packagecloud.io/github/git-lfs/linuxmint/ tina main
    Active apt repos in: /etc/apt/sources.list.d/graphics-drivers-ppa-bionic.list
    1: deb http: //ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic main
    Active apt repos in: /etc/apt/sources.list.d/linuxuprising-java-bionic.list
    1: deb http: //ppa.launchpad.net/linuxuprising/java/ubuntu bionic main
    Active apt repos in: /etc/apt/sources.list.d/lutris-team-lutris-bionic.list
    1: deb http: //ppa.launchpad.net/lutris-team/lutris/ubuntu bionic main
    Active apt repos in: /etc/apt/sources.list.d/nordvpn.list
    1: deb https: //repo.nordvpn.com/deb/nordvpn/debian stable main
    Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com tricia main upstream import backport #id:linuxmint_main
    2: deb http: //archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
    6: deb http: //archive.canonical.com/ubuntu/ bionic partner
    Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http: //repository.spotify.com stable non-free
    Info: Processes: 410 Uptime: 3h 53m Memory: 15.59 GiB used: 7.11 GiB (45.6%) Init: systemd
    v: 237 runlevel: 5 Compilers: gcc: 7.5.0 alt: 7 Client: Unknown python3.6 client
    inxi: 3.0.32
Would upgrading to Mint 20.3 break anything (programs, apps, ect)?
User avatar
MikeNovember
Level 7
Level 7
Posts: 1856
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: How do I get new GLIBC version

Post by MikeNovember »

TheRedBaron56 wrote: Mon May 23, 2022 10:52 am Oh sorry forgot to upload my specs. tl;dr Mint 19.3 cinnamon.
[...]
Would upgrading to Mint 20.3 break anything (programs, apps, ect)?
Hi,

From 19.3 to 20.3 you need to perform a full install and not an upgrade. After that, you will need to personalize your installation (add / remove programs) the same way you did for your 19.3.

You might also try to go from 19.3 to 20.0 (if it is still possible), this could be done without breaking all, provided you don't use too many PPA's and external programs (that you would need to remove or downgrade). Then update from 20.0 to 20.1, 20.1 to 20.2, 20.2 to 20.3.

If your "/home" is on a separate partition, you will keep your settings: when you install from the live DVD or USB key you will select "other configurations" and choose to not format your "/home" partition.

If your "/home" is on the same partition as "/", you will need to back up it first, including hidden files and settings, then install Mint (this time, choose two different partitions for your "/" and your "/home"), then copy your "/home" files, then reboot (you will have recovered your settings), then personalize your programs.

With Mint 20.3, you will have glibc 2.31, allowing you to install your RimPy.

An alternative solution is to build glibc from source, see https://www.linuxfromscratch.org/lfs/vi ... glibc.html, and keep your Linux Mint 19.3.

Regards,

MN
_____________________________
Linux Mint 21.3 Mate host with Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD).
Locked

Return to “Software & Applications”