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)
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!
New release is out!
https://github.com/cdr/code-server/releases/tag/v3.4.1
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!
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.1which goes back to compiling everything on CentOS 7. See #1766There is no intel vs amd version.
amd64refers to the architecture which is shared by Intel and AMD.It’s less about skill and more about convenience, you can quickly setup any Unix machine with code-server without really thinking too much.