Glibc 2.28 support

I am trying to install nightly versions of max/mojo via pip and when running $> mojo I get:

mojo/mojo-gpu-puzzles/.venv/bin/mojo: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by mojo/mojo-gpu-puzzles/.venv/bin/mojo)
...
...

I am running on Rocky Linux release 8.10 which has glibc 2.28:

$ uname -a 
Linux 10-40-26-137 6.6.43-4.el8.x86_64 #1 SMP Fri Aug 23 15:05:45 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
$ ldd --version 
ldd (GNU libc) 2.28
Copyright (C) 2018 Free Software Foundation, Inc.

as upgrading glibc is not an option for me, any chance that 2.28 can be supported?

Could you try wtihpixi instead?

  • Step 1: Install pixi

    curl -fsSL https://pixi.sh/install.sh | sh
    
  • Step 2: Initialize a project

    pixi init myproj \
      -c https://conda.modular.com/max-nightly/ -c conda-forge \
      && cd myproj
    
  • Step 3: Add the following to the pixi.toml

    [system-requirements]
    linux = "4.4" 
    libc = { family = "glibc", version = 2.28 }
    
  • Step 4: pixi add modular