code-server: `GLIBC_2.18' not found error (Centos7 with GLIBC 2.17), terminal and extensions not working

  • Web Browser:
  • Local OS:
  • Remote OS:
  • Remote Architecture:
  • code-server --version: 3.4.0

Hi although on the release it says that this bug was fixed, that’s not the case. On standard and updated Centos7 (coming with glibc 2.17 only), code-server 3.4.0 wrongly says it needs 2.18.

/home/usercode-server/code-server/bin/…/lib/node: /lib64/libc.so.6: version `GLIBC_2.18’ not found (required by /home/user/code-server/code-server/bin/…/lib/libstdc++.so.6)

Perfectly working version 3.3.0 (that sadly cannot be updated automatically as it’s broken so I’m performing a new installation).

How to solve it?

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 3
  • Comments: 15 (4 by maintainers)

Most upvoted comments

Ah my bad.

You can just delete the dynamic libraries in lib/*.so* and then it should work for now.

Will fix in 3.4.1.

Just installed, all went smooth and everything seems to work again, stellar work @nhooyr !

No worries, thanks for the fast fix!

Thank you very much, it all makes perfect sense, no an easy task for sure to maintain this!

Will check when new version is out and hopefully will get it working and will report back 😃

Once again so sorry about this!

Same experience here, I was looking back at the changelog for the new releases and it seems @nhooyr went back to an older version of VSC for the new releases after 3.3.0…my feeling is that maybe that plus those changes with install script and other structural things broke something?

It was bundling in the dynamic libraries that screwed everything up. See #1761

They were also bundled from Debian 8 which requires a more recent glibc than CentOS 7.

This is going to be fixed today with 3.4.1 which goes back to compiling everything on CentOS 7. See #1766

@nhooyr I noticed another bug: using the install script, on a genuine Intel server it wants to install the AMD version somehow. I didn’t let it install the rpm as I prefer to install it manually myself.

There is no intel vs amd version. amd64 refers to the architecture which is shared by Intel and AMD.

Honestly I think an install script for this product is possibly not needed: all the needed steps to configure nginx and all the rest means that to configure the whole thing requires anyway equal if not better skills than just installing it.

It’s less about skill and more about convenience, you can quickly setup any Unix machine with code-server without really thinking too much.