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.
Can you run ldd --version to see what libc version you're on?
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.
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
Please refrain from me too comments guys in favour of just thumbs uping the original issue!
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 :)
So you have glibc v2.19 but currently the static releases depend on at minimum v2.28.
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.
Ok, I see. Thank you for clarification.
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.
Can verify that it works for me
Thank you @nhooyr !!! 鉂わ笍
Most helpful comment
Thank you @nhooyr !!! 鉂わ笍