Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: init error in Ubuntu 20 #1070

Open
Ppang0405 opened this issue Oct 31, 2024 · 4 comments
Open

bug: init error in Ubuntu 20 #1070

Ppang0405 opened this issue Oct 31, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Ppang0405
Copy link

Ppang0405 commented Oct 31, 2024

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 Ppang0405 added the bug Something isn't working label Oct 31, 2024
@Ppang0405
Copy link
Author

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
huggingface/llm-ls#25

@tanmoysrt
Copy link
Member

@Ppang0405 we build the binary in latest ubuntu version, so it requires at-least glibc 2.32.
I found same issue here as well gitbutlerapp/gitbutler#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.

@patihomirov
Copy link

@tanmoysrt
Copy link
Member

tanmoysrt commented Nov 21, 2024

Can anyone give it a tryout on ubuntu 20.04 to check if CGO_ENABLED=0 solve it ?

If you have latest node and go installed on your system -

  • Clone this repo
  • Run make
  • Run ./swiftwave

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants