glibc update  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
mbooyzen
Posts: 24
Joined: Thu May 10, 2018 12:34 am

glibc update

#1 Post by mbooyzen »

Hi Good people

I'm having an issue with Ultimaker Cura
Problem is that i am using the appimage as there are regular updates to the software and i know the packaging guys are busy already
So by downloading the appimage for cura (I need 5.1 or later) i get the following

Code: Select all

$ ./UltiMaker-Cura-5.3.0-linux-modern.AppImage 
[8525] Error loading Python lib '/tmp/.mount_UltiMa5Nrz6d/libpython3.10.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/.mount_UltiMa5Nrz6d/libpython3.10.so.1.0)
Many says apt install glibc works but i get

Code: Select all

$ sudo apt-get install glibc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package glibc
I do have the following output on

Code: Select all

$ ldd --version 
ldd (Debian GLIBC 2.31-13+deb11u5) 2.31
Copyright (C) 2020 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.
Some also say that updating glibc broke other thing for them, so i am a bit on the cautious side.

As for MX Package Installer, latest available is 4.8
I believe sorting the python/glibc issue is the preferred solution, if someone can give my guidance.
I am also not too clued up on compiling source code, also an option if all else fails

Thank you
MX 21.3 KDE
Intel i5 8400, 16GB ram, Nvidia GTX-1050.

User avatar
fehlix
Developer
Posts: 12634
Joined: Wed Apr 11, 2018 5:09 pm

Re: glibc update

#2 Post by fehlix »

mbooyzen wrote: Fri Apr 07, 2023 5:58 am Hi Good people

I'm having an issue with Ultimaker Cura
Problem is that i am using the appimage as there are regular updates to the software and i know the packaging guys are busy already
So by downloading the appimage for cura (I need 5.1 or later) i get the following

Code: Select all

$ ./UltiMaker-Cura-5.3.0-linux-modern.AppImage 
[8525] Error loading Python lib '/tmp/.mount_UltiMa5Nrz6d/libpython3.10.so.1.0': 
dlopen: /lib/x86_64-linux-gnu/libm.so.6: 
version `GLIBC_2.35' not found (required by /tmp/.mount_UltiMa5Nrz6d/libpython3.10.so.1.0)
The highest supported glibc version on MX-21 based on Debian bullseye,
would be 3.4.28.
Which you can find out by this:

Code: Select all

strings /lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX_3.
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
GLIBCXX_3.4.25
GLIBCXX_3.4.26
GLIBCXX_3.4.27
GLIBCXX_3.4.28
There is no upgrade path to a higher version on MX-21.
You may need an appimage which is built for running on those available glibc versions.

mbooyzen
Posts: 24
Joined: Thu May 10, 2018 12:34 am

Re: glibc update

#3 Post by mbooyzen »

Hi sorry, might have some confusion there, The version of cura i need is 5.1 or later
The appimage needs glibc2.35
I just need to know how i can update glibc to 2.35(i guess later will work), as the current is 2.31 on MX21.3?

The only available version in package installer is

Code: Select all

Package: glibc-source
Version: 2.31-13+deb11u5
Nothing in testing

Thanks for looking into it.
MX 21.3 KDE
Intel i5 8400, 16GB ram, Nvidia GTX-1050.

User avatar
dolphin_oracle
Developer
Posts: 22112
Joined: Sun Dec 16, 2007 12:17 pm

Re: glibc update

#4 Post by dolphin_oracle »

typically we do not update glibc. it creates a daisy change of dependency issues across many many packages.

this sort of thing tends to start happening as the current debian stable gets long-in-the-tooth. the next debian stable, and mx-23, will have 2.36 I think.

If a flatpak is available, I suggest trying that.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
fehlix
Developer
Posts: 12634
Joined: Wed Apr 11, 2018 5:09 pm

Re: glibc update  [Solved]

#5 Post by fehlix »

mbooyzen wrote: Fri Apr 07, 2023 7:14 am Hi sorry, might have some confusion there, The version of cura i need is 5.1 or later
The appimage needs glibc2.35
I just need to know how i can update glibc to 2.35(i guess later will work), as the current is 2.31 on MX21.3?

The only available version in package installer is

Code: Select all

Package: glibc-source
Version: 2.31-13+deb11u5
Nothing in testing

Thanks for looking into it.
Right, that anwser was for another question. But the conclusion similar.
The max version supported by the GNU C shared library is 2.31 on bullseye:

Code: Select all

strings /lib/x86_64-linux-gnu/libm.so.6 | grep GLIBC_2
GLIBC_2.2.5
GLIBC_2.4
GLIBC_2.15
GLIBC_2.18
GLIBC_2.23
GLIBC_2.24
GLIBC_2.25
GLIBC_2.26
GLIBC_2.27
GLIBC_2.28
GLIBC_2.29
GLIBC_2.31
There is no upgrade path to a higher version on MX-21.
You may need an appimage which is built for running on those available glibc versions.

mbooyzen
Posts: 24
Joined: Thu May 10, 2018 12:34 am

Re: glibc update

#6 Post by mbooyzen »

Thank you, dolphin_oracle and fehlix, that confirms my suspicions.
Will go the flatpak route, i see it is up to date with cura version, never even looked there.
Thank you guys.
MX 21.3 KDE
Intel i5 8400, 16GB ram, Nvidia GTX-1050.

Post Reply

Return to “MX Help”