chipsenkbeil / distant

🚧 (Alpha stage software) Library and tooling that supports remote filesystem and process operations. 🚧

Home Page:https://distant.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GLIBC error?

drawnwren opened this issue · comments

commented

I'm running archlinux with glibc = 2.3.8 locally. When I install and try to launch distant on ubuntu lts 20.04 (glibc version 2.3.1) I get the following exception:

Caused by:
    Failed to spawn server: ''Last login: Wed Jan 31 20:17:51 2024 from 141.155.131.220
    distant server listen --daemon --host ssh

    (base) ]0;ubuntu@ip: ~[01;32mubuntu@ip-10-0-0-7[00m:[01;34m~[00m$ distant server listen --daemon --host ssh
    distant: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32'\'' not found (required by distant)
    distant: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33'\'' not found (required by distant)
    distant: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34'\'' not found (required by distant)
    (base) ]0;ubuntu@ip: ~[01;32mubuntu@ip[00m:[01;34m~[00m$
    (base) ]0;ubuntu@ip: ~[01;32mubuntu@ip[00m:[01;34m~[00m$ '

distant 0.20.0 was compiled on a machine (via Github action) with a newer version of glibc than Ubuntu 20.04 has available. There's a reference to the issue and generating new builds using older Linux.

In the meantime, you can:

  1. switch on Ubuntu from the distant build using glibc to the build using musl, which should remove the glibc dependency issue you're running into. musl release binary
  2. compile distant on Ubuntu directly, which should then support that version of glibc