Not able to run any app on a previous version of GLIBC (Ubuntu 24.04/Mint 22.3)

I’m trying to run the samples provided in GitHub - alternetsoft/alternet-ui-examples: Code examples for AlterNET UI: a cross-platform .NET UI Framework · GitHub but even if i can compile them i cannot run them 'cause their giving me this error message:

/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.43' not found (required by /home/crisim/projects/alternet-ui-examples/HelloWorldSample/bin/Debug/net8.0/runtimes/linux-x64/native/Alternet.UI.Pal.so)

can you compile the .so files against a older version of GLIBC?

I really like your work, i have a laptop with ubuntu 26.04 and there it works OK, but I need to support older version of ubuntu (the previous LTS version at least).

Thank you

I will try to build the Alternet.UI.Pal library on Ubuntu 24.04 and will post an update here once it is available. This process will take some time, as I need to set up Ubuntu 24.04 in a virtual machine, switch Alternet.UI to use the new wxWidgets, build new NuGet packages, test them, and upload the results.

Thank you very much for your effort!

Building the PAL library against Ubuntu 24.04’s glibc should fix the symbol version error for users on the previous LTS, since binaries compiled there won’t request GLIBC_2.43. Worth noting that anyone on an even older base will still need a matching build, so documenting the minimum supported distro alongside the NuGet packages would help. Testing on both 24.04 and 26.04 before uploading seems like a sound plan.

After net11 release (mid November) we are going to upload new Alternet.UI nugets with support for both legacy (Ubuntu 24) and new Linux versions (Ubuntu 26). Library will check for GLIBC 2.43 and if it is not available it will use legacy PAL library.

Also it will be possible to load PAL library compiled on other Linux systems. We added several properties which allow to specify custom path for the PAL library and other related settings.

I have uploaded the Alternet.UI 1.2.0 beta to the following URL:

It is compatible with both Ubuntu 24 and Ubuntu 26. It contains two versions of the PAL library, one of which is selected based on the GLIBC version. I will post an update here when we finish testing and upload it to NuGet.org.