swiftwave-org / swiftwave

Self-hosted lightweight PaaS solution to deploy and manage your applications on any VPS [Your own self-hosted Heroku, Vercel]
https://swiftwave.org
Apache License 2.0
464 stars 38 forks source link

bug: init error in Ubuntu 20 #1070

Open Ppang0405 opened 2 weeks ago

Ppang0405 commented 2 weeks ago

Describe the bug

I tried to install SwiftWave to a ubuntu server in command: sudo swiftwave init

But got the error

swiftwave: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by swiftwave)
swiftwave: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by swiftwave)

Are you working on this issue?

Yes

Ppang0405 commented 2 weeks ago

libc6 is already the newest version (2.31-0ubuntu9.16). do a bit research and I found Ubuntu 20.04 has libc6 at version 2.31

maybe this issue is similar to this one https://github.com/huggingface/llm-ls/issues/25

tanmoysrt commented 2 weeks ago

@Ppang0405 we build the binary in latest ubuntu version, so it requires at-least glibc 2.32. I found same issue here as well https://github.com/gitbutlerapp/gitbutler/issues/4881 realted tto ubuntu 20.04.

If you have no problem can you please upgrade to 22.04. Because 20.04 is going to be reach it's end-of-life in april, 2025.

Else, you need to build swiftwave on 20.04.

I will share updates, if I find any easy solution.