Skip to content

`GLIBC_2.28' not found running 3.3.0 on Ubuntu 18.04 #1656

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

Closed
ryan-allen opened this issue May 18, 2020 · 11 comments · Fixed by #1657
Closed

`GLIBC_2.28' not found running 3.3.0 on Ubuntu 18.04 #1656

ryan-allen opened this issue May 18, 2020 · 11 comments · Fixed by #1657
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ryan-allen
Copy link

Hello! When installing the new deb package for 3.3.0, and I run code-server, I get this error when I try to use the app in the browser:

Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/code-server/lib/vscode/node_modules/spdlog/build/Release/spdlog.node)

I'm on Ubuntu 18.04, and have been using prior releases with no issues.

@nhooyr
Copy link
Contributor

nhooyr commented May 18, 2020

Can you run ldd --version to see what libc version you're on?

@nhooyr nhooyr added the waiting-for-info Waiting for more information from submitter label May 18, 2020
@ryan-allen
Copy link
Author

Thanks for the quick response <3 Here's my ldd --version output:

ldd (Ubuntu GLIBC 2.27-3ubuntu1) 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.

@nhooyr
Copy link
Contributor

nhooyr commented May 18, 2020

Thank you as well.

Looks like we're going to switch CI to build on an older system.

In the meantime, you can easily install with our npm package. See https://github.com/cdr/code-server#npm

nhooyr added a commit that referenced this issue May 18, 2020
nhooyr added a commit that referenced this issue May 18, 2020
@nhooyr nhooyr added bug Something isn't working and removed waiting-for-info Waiting for more information from submitter labels May 18, 2020
nhooyr added a commit that referenced this issue May 18, 2020
@coder coder deleted a comment from dntq83 May 18, 2020
@nhooyr
Copy link
Contributor

nhooyr commented May 18, 2020

Please refrain from me too comments guys in favour of just thumbs uping the original issue!

@gyzerok
Copy link

gyzerok commented May 18, 2020

It might be that the issue isn't just about the older version.

$ ldd --version
ldd (Debian GLIBC 2.19-18+deb8u10) 2.19

And I still get the same error. Might be that I just don't understand anything here though :)

@nhooyr
Copy link
Contributor

nhooyr commented May 18, 2020

So you have glibc v2.19 but currently the static releases depend on at minimum v2.28.

#1657 will build on Debian 8 which will make the minimum glibc v2.19.

For anyone who wants it lower I think it's best to just use the npm package otherwise we'll be using a unmaintained distro for the build process.

@gyzerok
Copy link

gyzerok commented May 18, 2020

Ok, I see. Thank you for clarification.

nhooyr added a commit that referenced this issue May 18, 2020
nhooyr added a commit that referenced this issue May 18, 2020
nhooyr added a commit that referenced this issue May 18, 2020
nhooyr added a commit that referenced this issue May 18, 2020
nhooyr added a commit that referenced this issue May 18, 2020
@nhooyr
Copy link
Contributor

nhooyr commented May 18, 2020

I updated the release just now to use depend on glibc 2.19 at minimum for amd64 so you guys should be good.

Just working on CI to automate it.

nhooyr added a commit that referenced this issue May 18, 2020
@gyzerok
Copy link

gyzerok commented May 18, 2020

Can verify that it works for me

nhooyr added a commit that referenced this issue May 18, 2020
nhooyr added a commit that referenced this issue May 18, 2020
@nhooyr nhooyr added this to the v3.3.1 milestone May 18, 2020
nhooyr added a commit that referenced this issue May 18, 2020
This release fixes bugs introduced with the release of v3.3.0

- We've reverted to VS Code 1.45.1 due to bugs in 1.46 #1667
- Accessing code-server from a web browser on Windows has been fixed #1642
- Search in project has been fixed #1665
- The glibc requirement on static releases has been lowered to v2.19 #1656
@nhooyr nhooyr mentioned this issue May 18, 2020
@ryan-allen
Copy link
Author

Thank you @nhooyr !!! ❤️

@hugoovf
Copy link

hugoovf commented Jul 1, 2021

I'm having problems ^^

image

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

Successfully merging a pull request may close this issue.

4 participants