Open airpods69 opened 1 year ago
I think I can see what is up. ldd version seems to be lower than what is required by distant
~ ldd --version
ldd (Ubuntu GLIBC 2.27-3ubuntu1.6) 2.27
Copyright (C) 2018 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.
Yes, you're not the first to be bit by this. The version of Rust used is fairly new, which I think is pushing the libc version up.
The alternative is to use the musl version instead of the gnu version. I've done that on a variety of Linux platforms and that got around the glibc version issue.
https://github.com/chipsenkbeil/distant/releases/download/v0.20.0/distant-x86_64-unknown-linux-musl
You should be able to do something like this on the server:
curl -L https://sh.distant.dev | sh -s -- --distant-host 'x86_64-unknown-linux-musl'
ahh that would make a hell lotta sense, I'll try it out and let you know
Edit: It works.
Question: Do I have to install the musl version on my local machine as well? (It seems to be crying about Incompatible version but no logs)
You don't have to install the same version on your local machine. You can run a Windows version of distant connecting to a FreeBSD version without issue.
What incompatible version error are you hitting? Can you share more details?
Running anything related to distant causes it to freak out on the server and it spams the "not found" error like no tomorrow.
Lemme know what additional details you wanna know.